摘要:
function disableForm(formId) { var formBean = $('#' + formId).form().context[formId]; var formSize = formBean.length; for (var i = 0; i < formSize; i+ 阅读全文
摘要:
替换为: 阅读全文
摘要:
String sql = “insert into username.tablename(id) values(?)”; PreparedStatement stmt = conn.prepareStatement(sql); int rownum = 0; while (rownum < 99999) { stmt.setString(1, UUID.randomUUID().to... 阅读全文
摘要:
Tomcat启动时提示: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.libr 阅读全文
摘要:
Tomcat启动时提示: 信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that we 阅读全文
摘要:
function changeEUIBoxWidth(id, width){ $('#'+id).parent().find($('span:eq(0)')).css('width',width+'px'); $('#'+id).parent().children("span").eq(0).css 阅读全文
摘要:
为裸盘分区 查看硬盘分区 fdisk -l 进入分区管理 fdisk /dev/sda 创建PV 创建PV pvcreate /dev/sda1 pvcreate /dev/sdb1 pvcreate /dev/sdc1 查看PV pvdisplay 创建VG 创建VG vgcreate phelsysvg /dev/sda1 vgcreate pheld... 阅读全文
摘要:
http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge-e 阅读全文
摘要:
nginx反向代理tomcat,出现seesion获取不到的问题。网上搜索到的解决方案大多是集群tomcat共享session共享的问题,但我这个只有一台tomcat服务器,不涉及到服务器集群问题。但也找了最靠谱的ip_hash方案试了一下,由于配置的时候不小心配到了根路径,所以在测试的时候手动加上... 阅读全文
摘要:
需求:网站的前台和后台不同的url需要不同的登陆页面,不同的异常捕获方式。spring-security3.1以后的版本支持多个标签,因此本文所采用的方式就是使用两个,实际上是三个标签实现上述功能(为什么是是要三个将会在下面加以说明)spring-security.xml配置如下 ... 阅读全文