Fight With Me!!!

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

09 2015 档案

Jquer Ajax xmlhttp请求成功了,为什么一直在error函数里面
摘要:今天遇到了一个极其奇怪的问题,用各种工具检查都能看到服务器端返回了200,数据也是正常的,但是$.ajax 始终进不到success,郁闷啊,在网上找, 常见问题场景: 1.跨域; 2. $.ajax 没设置 dataType,及服务器端没设置respon.ContentType 3. Json结构 阅读全文

posted @ 2015-09-15 19:39 nickTimer 编辑

java正则表达式应用--验证字符串是否为数字(转载)
摘要:首先说一下java正则表达式的重点概念: 第一、相关类:Pattern、Matcher 第二、典型的调用顺序是 Pattern p = Pattern.compile("a*b"); Matcher m = p.matcher("aaaaab"); boolean b = m.matches(); ... 阅读全文

posted @ 2015-09-11 11:29 nickTimer 编辑

如何把Excel另存为XML格式文件(快速转换)
摘要:这时,我们尝试另存为另一种文件类型:XML电子表格2003(*.xml) 阅读全文

posted @ 2015-09-10 18:25 nickTimer 编辑

JXL读取Excel日期时间不准确
摘要:XL读取Excel日期时间多出了8个小时。 Cell c = rs.getCell(j, i); if (c.getType() == CellType.DATE) {//手动填写模板文件时为 date 类型,其他情况有可能不是date类型 DateCell dc = (D... 阅读全文

posted @ 2015-09-09 18:56 nickTimer 编辑

freemarker 如何获得list的索引值
摘要:${toplists_index}相当方便 阅读全文

posted @ 2015-09-08 15:48 nickTimer 编辑

POI使用cell.getCellStyle()设置指定单元格颜色,但是其它没有指定的单元格也会变色
摘要:HSSFCell cell = row.createCell((short)i); cell.getCellStyle().setAlignment(HSSFCellStyle.ALIGN_RIGHT);....你可能发现创建后的excel文件所有的列都变成右对齐了... 翻了翻代码,还... 阅读全文

posted @ 2015-09-08 14:59 nickTimer 编辑

JXL获取excel批注
摘要:/** * Jxl.jar(2.6.12) * @author lmiky * @date 2011-11-26 */ public class JxlTest { /** * 测试获取批注 * @author lmiky * @date 2011-11-26 * @param filePath * @throws IOExce... 阅读全文

posted @ 2015-09-07 18:30 nickTimer 编辑

string evaluated instead to freemarker.template.SimpleScalar
摘要:[2015-09-06 09:07:32.879] ERROR [6B68DD09CE6FECFE20936CA3C6D560AD:http-bio-8087-exec-8] o.a.s.v.freemarker.FreemarkerResult - Error processing Freemar... 阅读全文

posted @ 2015-09-06 09:15 nickTimer 编辑

js标点符号全局匹配
摘要:var modelCode = node.modelCode.replace(/\./g, '\_');注意后面的 "\" 阅读全文

posted @ 2015-09-01 14:21 nickTimer 编辑

点击右上角即可分享
微信分享提示