摘要: //spring mvc文件中的配置 <!-- ThreadPoolExecutor --> <bean id="threadPoolTaskExecutor" class="com.magisal.pmr.commons.threadPool.SosThreadPoolTaskExecuror"> 阅读全文
posted @ 2016-04-22 09:38 joe立 阅读(436) 评论(0) 推荐(0)
摘要: public GetResource{ String path = GetResource.class.getClassLoader().getResource("xx/xx.txt").getPath(); } 扩展 一 相对路径的获得 说明:相对路径(即不写明时候到底相对谁)均可通过以下方式获得 阅读全文
posted @ 2016-04-22 09:31 joe立 阅读(57350) 评论(0) 推荐(0)
摘要: DATE_SUB(sysdate(), INTERVAL 8 HOUR) //当前时间前 8小时 ifnull("","") Parameter //添加一个伪字段 group_concat(xx) //将符合条件的字段合并显示,以“,”分割 阅读全文
posted @ 2016-04-21 17:35 joe立 阅读(152) 评论(0) 推荐(0)
摘要: 点的问题是用string.split("[.]") 解决。 竖线的问题用 string.split("\\|")解决。 星号的问题用 string.split("\\*")解决。 斜线的问题用 sring.split("\\\\")解决。 中括号的问题用 sring.split("\\[\\]")解 阅读全文
posted @ 2016-04-21 16:22 joe立 阅读(150) 评论(0) 推荐(0)
摘要: $("#formId")[0].reset(); 阅读全文
posted @ 2016-04-20 16:35 joe立 阅读(176) 评论(0) 推荐(0)
摘要: show processlist;//显示所有进程select * from information_schema.innodb_trx;//查询锁的进程-- kill 310;//杀掉锁进程 阅读全文
posted @ 2016-04-15 17:11 joe立 阅读(326) 评论(0) 推荐(0)
摘要: <div class="form-group"> <div class="row"> <label class="col-sm-2 control-label">配置权限</label> <div class="col-sm-10"> <c:forEach var="m" items="${mode 阅读全文
posted @ 2016-04-14 10:02 joe立 阅读(636) 评论(0) 推荐(0)
摘要: $("#id").attr("checked",true); //显示出现问题,第一次成功 $("#id").prop("checked",true); 阅读全文
posted @ 2016-04-13 09:43 joe立 阅读(153) 评论(0) 推荐(0)