摘要: DecimalFormat 格式化金额,是使用现有API还是自己写util方法? public static void main(String[] args) throws Exception { DecimalFormat df = new DecimalFormat("###,###,###,###,##0.00"); String re=df.forma... 阅读全文
posted @ 2016-09-01 14:56 元页 阅读(755) 评论(0) 推荐(0) 编辑
摘要: /** * 验证日期格式 * @return true 格式正确,false 格式错误 */ public static boolean checkDateformat(String dateStr){ String eL = "[0-9]{4}[-/]{1}[0-9]{2}[-/]{1}[0-9]{2}"; Patter... 阅读全文
posted @ 2016-08-03 10:24 元页 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1,textarea chrome: $("#log").text(msg); $("#log").val(msg); $("#log").html(msg); 2,tbody $("#id").html(msg);3,var value = $('input[name="radioName"]:checked').val(); //获取被选中Radio的Value值 阅读全文
posted @ 2016-07-17 22:57 元页 阅读(1308) 评论(0) 推荐(0) 编辑
摘要: 来源:http://www.ibm.com/developerworks/cn/linux/l-cn-nohup/ 我们经常会碰到这样的问题,用 telnet/ssh 登录了远程的 Linux 服务器,运行了一些耗时较长的任务, 结果却由于网络的不稳定导致任务中途失败。如何让命令提交后不受本地关闭终 阅读全文
posted @ 2016-07-15 17:47 元页 阅读(755) 评论(0) 推荐(0) 编辑
摘要: Eclipse Mars 2 groovy - http://dist.springsource.org/snapshot/GRECLIPSE/e4.4/ groovy - http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/ 有几个子选项不能选 阅读全文
posted @ 2016-07-14 12:04 元页 阅读(1668) 评论(0) 推荐(0) 编辑
摘要: 简介 grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。 Unix的grep家族包括grep、egrep和f 阅读全文
posted @ 2016-07-12 11:58 元页 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 常用maven仓库 阅读全文
posted @ 2016-07-12 09:58 元页 阅读(180) 评论(0) 推荐(0) 编辑
摘要: http://jingyan.baidu.com/article/597a06434bf71e312a52436e.html 开发者们经常会在自己的电脑和服务器之间传输文件,今天小编说说怎么在两台linux系统下互相拷贝文件。 http://jingyan.baidu.com/article/597 阅读全文
posted @ 2016-05-21 18:37 元页 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 玩腻了 美女找茬,来换个 代码找茬 玩玩 阅读全文
posted @ 2016-05-06 21:18 元页 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 以上是把配置文件打到所在包下,下面的是针对resource下面的配置文件的 阅读全文
posted @ 2016-05-06 11:51 元页 阅读(959) 评论(0) 推荐(0) 编辑