摘要: [转]http://navkirats.blogspot.hk/2014/10/dia-diagram-mac-osx-yosemite-fix-i-use.htmlI use the Dia tool for all my diagramming work. I have worked with ... 阅读全文
posted @ 2015-11-06 14:01 zbjice 阅读(577) 评论(0) 推荐(0) 编辑
摘要: level整形字段a:select * form t_user where level =2;b:select * form t_user where level='2';b里面的隐形字段可能导致该字段的索引应用不了而进行全表扫描 阅读全文
posted @ 2015-01-28 11:10 zbjice 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-26 18:03 zbjice 阅读(293) 评论(0) 推荐(0) 编辑
摘要: ${page.totalPages}){this.value=''}" onblur="var tmpval = this.value.replace(/\D/g,'');if(this.value != tmpval){this.value=tmpval;}if(this.value>${page.totalPages}){this.value=''}" oninput="var tmpval = this.value.replace(/\D/g,'');if(this.value 阅读全文
posted @ 2013-09-04 15:53 zbjice 阅读(592) 评论(0) 推荐(0) 编辑
摘要: oracle中插入特殊字符 & ‘ 阅读全文
posted @ 2012-10-23 16:00 zbjice 阅读(4533) 评论(0) 推荐(0) 编辑
摘要: 异常:ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432) at org.apache.tomcat.util.buf.ByteChun... 阅读全文
posted @ 2012-09-24 16:01 zbjice 阅读(1383) 评论(0) 推荐(0) 编辑
摘要: 1.在eclipse/tomcat搭建好后,启动服务器就会出现如下的红色警告信息:警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:TestTomcat6.0.16' did not find a matching property.在网上有的说将Tomcat的版本换成6.0.14就可以了;还有的说在建立Dynamic Web Project时把"Dynamic Web 阅读全文
posted @ 2012-06-06 23:21 zbjice 阅读(959) 评论(0) 推荐(0) 编辑
摘要: 今天试着配置弄个权限,刚一开始就把我卡住了,在web.xml时使用了*.jspx一切正常,可当我将其改为/*全部guolv时发现页面不能加载js、css了,那个郁闷,于是google了下找到答案:“The Dojo files are shipped with Struts 2.0.x within struts2-core-2.0.x.jar. When a request for a resource is received that starts with the /struts URL, the FilterDispatcher serves the corresponding fil 阅读全文
posted @ 2012-04-26 13:59 zbjice 阅读(1490) 评论(0) 推荐(1) 编辑
摘要: var basePath='<%=basePath%>'; /*ajax请求返回值*/ var response=''; /*创建一个xmlHttp对象*/ var xmlHttp = false; if(window.XMLHttpRequest){ xmlHttp = new XMLHttpRequest(); }else if(window.ActiveXObject){ xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } /*使用XMLHttpRequest对象的函数,这 阅读全文
posted @ 2012-04-20 10:14 zbjice 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 也可以将onmousedown换成onblur<selectvalue1 = "${personRge.ZA0100 }" value2 = "${personRge.LY01ID }" onmousedown="this.sindex = this.selectedIndex; this.selectedIndex = -1;" onblur="if(this.sindex) this.selectedIndex = this.sindex;else{this.selectedIndex=0;}" onch 阅读全文
posted @ 2012-04-19 23:43 zbjice 阅读(448) 评论(0) 推荐(0) 编辑