- 博客(133)
- 收藏
- 关注
原创 PreparesStatement 为什么能防止SQL 注入
preparedstatement方法执行完后,sql语句会发送给数据库,数据库会对sql进行预编译,预编译后的sql语句的结构是不能改变的。预编译就是数据库会对sql的结构进行编译,但是不是真正上的编译得到结果集。...
2014-07-25 17:24:26
443
原创 SQL 查询平均每单天于10000元的会员的订单
[code="java"]select * from orderitems where member_id in(select MEMBER_ID from orderitems group by MEMBER_ID having avg(TOTALPRODUCT) >10000 ) order by orderitems.MEMBER_ID;[/code]
2014-07-25 15:54:15
374
原创 Bootstrap UI, 的响应式后台管理模板
http://dreamsky.github.io/main/blog/metronic-bootstrap/ui_buttons.htmlgoogle bootstrap 后台模板
2014-07-25 10:59:41
259
原创 冒泡排序
[code="java"] public static void main( String[] args ) { int[] a = new int[]{1,2,5,3,7,9,6}; for(int i =0 ; i < a.length;i++){ System.out.println(Arrays.toString(a...
2014-07-18 16:58:13
125
原创 WebSphere commerce Overall shopping flow diagram
http://www-01.ibm.com/support/knowledgecenter/SSZLC2_7.0.0/com.ibm.commerce.developer.doc/refs/rosshopflowdiag.htm?lang=en
2014-07-12 13:40:22
121
原创 linux下通过yum安装svn及配置
linux下通过yum安装svn及配置 http://oplinux.com/app/svn/linux-yum-install-svn.htmlsvn权限配置http://www.cnblogs.com/zjjking/archive/2008/12/24/1361250.html1.环境centos5.52.安装svnyum -y install sub...
2013-12-17 17:16:39
100
WebSphere Commerce Compare editions
http://www-01.ibm.com/software/genservers/commerceproductline/compare.html
2013-07-02 17:00:04
103
原创 WebSphere Commerce Dynamic Cache
http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.admin.doc/concepts/cdc_cacheinv.htm
2013-07-02 15:39:58
126
原创 Enabling persistent sessions in a single store(WebSphere Commmerce Remenber Me)
http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.admin.doc/tasks/tsecremem_cd.htmSecuring > Session management > Using cookies for session management > Persistent session...
2013-06-10 18:05:10
135
原创 linux zip 中更新文件
将test.zip 包中的js/example.js 更新为 /js/example.jszip -u test.zip js/example.js /js/example.js
2013-03-29 11:31:06
1157
原创 command redirect
responseProperties.put(ECConstants.EC_REDIRECTURL, getUrl()); responseProperties.put(ECConstants.EC_VIEWTASKNAME, "RedirectView");
2013-03-27 13:42:31
101
原创 WebSphere Commerce Contract Export
Exporting contracts using XML filesExporting contracts using the XML flies that define them.Procedure Start the WebSphere Commerce Test Server. Open a SQL session to your database an...
2013-03-20 10:30:15
107
原创 IBM Education Assistant
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.iea.wcs%2Fwcs%2F7.0.0.4%2FProgrammingModel.html
2012-09-22 14:05:53
105
原创 exam.test4actual
http://exam.test4actual.com/000-216.pdfhttp://exam.test4actual.com/xxx-xxx.pdf
2012-09-22 13:42:28
127
WebSphere Commerce 相关link收集
1. SEO URLhttp://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.madisons-starterstore.doc/tutorial/tsm_recipeSEOURL_5.htm2. Using Local Infocenterhttp://publib.boulde...
2012-09-21 14:53:24
131
原创 Programming specifications used by WebSphere Commerce
WebSphere Commerce Version 7.0 uses a number of programming specifications.Dojo 1.3.1 EJB Version 2.1 EMF Version 2.2 JavaMail 1.4 JAX-RPC 1.1 JEE 5 JDK/JRE Server and Client Tools 1....
2012-08-17 14:31:35
190
原创 Reducing WebSphere Commerce V7.0 page sizes using the WebSphere JSP compiler opt
http://www-01.ibm.com/support/docview.wss?uid=swg27020465
2012-07-25 19:39:19
86
原创 Difference between DOM parentNode and parentElement
http://stackoverflow.com/questions/8685739/difference-between-dom-parentnode-and-parentelement
2012-07-06 12:04:42
130
原创 Tomcat Debug 设置
实现方法:在tomcat的catalina.bat文件中加入下面的设置,当然SET CATALINA_OPTS 变量应该在使用它之前。这是在tomcat启动时设置一些虚拟机参数,使服务器允许远程连接功能,address=5888表示远程连接的端口号,可以设置成任意其他不冲突端口。其他的应用服务器比如weblogic也应该可以设置这些参数,有兴趣的可以测试。 SET CATALINA_OPTS=-...
2012-04-11 22:18:04
126
原创 JQuery Select
最近使用JQuery来编写前端js脚本,涉及到依据下拉框的值确定其他下拉框中数据项。需要实现对下拉框中候选项的添加删除等,使用js写的话简直会死人的。还好使用JQuery。以下是操作 下拉列表的常用功能:1.获取列表项中候选项的数目。2.获得选中项的索引值。3.获得当前选中项的值4.设定选择值5.设定选择项... 1 // 得到selec...
2012-03-17 14:22:00
97
原创 JQuery弹出窗口
http://www.ericmmartin.com/projects/simplemodal-demos/http://dev.iceburg.net/jquery/jqModal/http://jquery.com/demo/thickbox/http://malsup.com/jquery/block/#demoshttp://trentrichardson.com/Impr...
2012-03-16 23:22:36
107
原创 WCS ProgrammersGuide
ProgrammersGuidehttp://www.ibm.com/developerworks/cn/websphere/download/pdf/ProgrammersGuide.pdf
2012-03-10 11:09:16
108
原创 Start and Stop Server
Start HTTP Server:/opt/IBMIHS/bin/apachectl -d /opt/IBMIHS \-f /opt/IBM/WebSphere/CommerceServer70/instances/demo/httpconf/httpd.confStop HTTP Server:/opt/IBMIHS/bin/apachectl -d /opt/IBMIHS \...
2012-03-05 10:43:49
119
原创 WebSphere Commerce useful url
http://www.ibm.com/developerworks/cn/websphere/download/pdf/ProgrammersGuide.pdfExtended Sites starter storehttp://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/index.jspStarter store ar...
2012-03-05 10:36:39
116
原创 Web开发工具
http://sd.youkuaiyun.com/a/20111223/309583.html本文作者Robert Nyman是Mozilla的技术布道者,从1999年开始从事Web前端开发 。让Web开发人员的生活尽可能轻松和高效,这是Firefox一直坚持的目标之一。通过提供工具和可扩展的Web浏览器,让开发人员能够创造出令人惊奇的东西。Firefox自带的开发工具我们致力于开发一系列...
2011-12-24 00:22:21
231
原创 ResourceBundle
[code="java"] //resourcebundle 为包名,Common为properties文件名, "." 可以替换成"/" Locale locale1 = new Locale("zh", "CN"); Locale locale2 = new Locale("en", "US"); ResourceBundle
2011-12-15 09:45:51
79
原创 WebSphere install application WKSP0003E Context abc.ear already exists
Application already exists in the configuration repository error when installing new EAR in WAS admin console.If we can screw up our enterprise application installation properly, we would reach to...
2011-12-09 15:58:15
940
GWT Loading....
[code="java"]import java.util.ArrayList;import java.util.List;import com.google.gwt.user.client.rpc.AsyncCallback;import com.google.gwt.user.client.ui.Grid;import com.google.gwt.user.cli...
2011-09-06 13:28:46
94
原创 POI 生成XLS实例
转载至:http://www.4ucode.com/Study/Topic/697242[code="java"]ackage test;import java.io.FileOutputStream; import java.io.IOException; import java.util.Date; import org.apache.poi.hssf...
2011-08-16 02:01:20
96
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人