摘要: function disableForm(formId) { var formBean = $('#' + formId).form().context[formId]; var formSize = formBean.length; for (var i = 0; i < formSize; i+ 阅读全文
posted @ 2020-06-01 15:31 Liuxiaoke 阅读(1262) 评论(0) 推荐(0) 编辑
摘要: 替换为: 阅读全文
posted @ 2019-04-09 21:00 Liuxiaoke 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2018-12-17 10:25 Liuxiaoke 阅读(1754) 评论(0) 推荐(0) 编辑
摘要: Tomcat启动时提示: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.libr 阅读全文
posted @ 2018-11-30 10:37 Liuxiaoke 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-11-30 10:15 Liuxiaoke 阅读(363) 评论(0) 推荐(0) 编辑
摘要: function changeEUIBoxWidth(id, width){ $('#'+id).parent().find($('span:eq(0)')).css('width',width+'px'); $('#'+id).parent().children("span").eq(0).css 阅读全文
posted @ 2018-11-30 10:05 Liuxiaoke 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 为裸盘分区 查看硬盘分区 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... 阅读全文
posted @ 2018-01-30 16:55 Liuxiaoke 阅读(4445) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge-e 阅读全文
posted @ 2015-04-28 14:12 Liuxiaoke 阅读(464) 评论(0) 推荐(0) 编辑
摘要: nginx反向代理tomcat,出现seesion获取不到的问题。网上搜索到的解决方案大多是集群tomcat共享session共享的问题,但我这个只有一台tomcat服务器,不涉及到服务器集群问题。但也找了最靠谱的ip_hash方案试了一下,由于配置的时候不小心配到了根路径,所以在测试的时候手动加上... 阅读全文
posted @ 2015-04-27 18:43 Liuxiaoke 阅读(989) 评论(0) 推荐(0) 编辑
摘要: 需求:网站的前台和后台不同的url需要不同的登陆页面,不同的异常捕获方式。spring-security3.1以后的版本支持多个标签,因此本文所采用的方式就是使用两个,实际上是三个标签实现上述功能(为什么是是要三个将会在下面加以说明)spring-security.xml配置如下 ... 阅读全文
posted @ 2015-04-25 16:11 Liuxiaoke 阅读(5182) 评论(0) 推荐(1) 编辑