上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 81 下一页
摘要: http://www.w3school.com.cn/tiy/t.asp?f=jquery_traversing_each 阅读全文
posted @ 2016-11-24 18:05 ppjj 阅读(3367) 评论(0) 推荐(0)
摘要: 1.一种:str1.length()>=str.length():这种只比较字符串中的计算字符的数量,不管是中文还是英文 2:另一种:str1.getBytes().length>=str.getBytes().length:这种比较它们在内存存储中的实际长度,也就是说同一个字符,中文的存储要比英文 阅读全文
posted @ 2016-11-24 17:00 ppjj 阅读(1369) 评论(0) 推荐(0)
摘要: POI是apache提供的一个读写Excel文档的开源组件,在操作excel时常要合并单元格,合并单元格的方法是: sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 2)); 自适应列宽度: sheet.autoSizeColumn(1); sh 阅读全文
posted @ 2016-11-23 15:58 ppjj 阅读(4519) 评论(0) 推荐(0)
摘要: 1.varnish缓存和cdn缓存只支持get请求,post等其它请求不支持缓存 2.缓存的文件格式:.html,.htm,.json,.jsonp四种文件格式,其它的如.do是动态的请求,不需要缓存 3.varnish缓存是内存缓存,即服务器缓存,不支持集群,必须设置属性:s-maxage(单位: 阅读全文
posted @ 2016-11-23 09:53 ppjj 阅读(907) 评论(0) 推荐(0)
摘要: delete from pub_channelpackage where channelcode = :channelcode and channeltype = :channeltype <#if packids?exists && packids??> and packid in ( <#lis 阅读全文
posted @ 2016-11-10 17:21 ppjj 阅读(2868) 评论(0) 推荐(0)
摘要: http://freemarker-online.kenshoo.com/ 阅读全文
posted @ 2016-11-10 17:17 ppjj 阅读(3254) 评论(0) 推荐(0)
摘要: 1.前台代码: $("#batchdelete").click(function(){ $.ajax({ type: "post", url: url, data: "", dataType: "json", success: function(msg){ var records = msg['re 阅读全文
posted @ 2016-11-07 17:33 ppjj 阅读(1453) 评论(0) 推荐(0)
摘要: 1.后台代码: ModelAndView mv = new ModelAndView("log/logList.ftl"); String info="abc"; mv.addObject("logInfo", info); return mv; 2.前台freemarker代码: ${logInf 阅读全文
posted @ 2016-11-07 17:25 ppjj 阅读(4506) 评论(0) 推荐(0)
摘要: 实现在输入框按回车按钮进行查询的功能: 1.<input type="text" id="inputChannel" onkeydown="keyDown()" name="inputChannel" value ="" /> 2.js代码: <script type="text/javascrip 阅读全文
posted @ 2016-11-07 17:15 ppjj 阅读(3589) 评论(0) 推荐(0)
摘要: 1.<#assign a='3333' /> 2.<input type="text" id="name" name="name" value=“${a}" /> 阅读全文
posted @ 2016-10-26 23:35 ppjj 阅读(4573) 评论(0) 推荐(0)
上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 81 下一页