上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 23 下一页

2016年9月19日

摘要: 后台将String类型的金额转换成有两位小数的格式: lombok: http://www.blogjava.net/fancydeepin/archive/2012/07/12/lombok.html 阅读全文
posted @ 2016-09-19 16:18 james-roger 阅读(120) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-09-19 16:11 james-roger 阅读(3) 评论(0) 推荐(0) 编辑
摘要: applicationContext.xml web.xml ServletContextListener: https://my.oschina.net/bayuanqian/blog/160073 HttpSessionListener: http://blog.csdn.net/vastsky 阅读全文
posted @ 2016-09-19 15:26 james-roger 阅读(1559) 评论(0) 推荐(0) 编辑
摘要: http://www.codeceo.com/article/log4j-usage.html http://blog.csdn.net/anlina_1984/article/details/5313023 阅读全文
posted @ 2016-09-19 13:30 james-roger 阅读(100) 评论(0) 推荐(0) 编辑

2016年9月12日

摘要: 切记: 当出现异常时 要销毁对象 returnBrokenResource, 使用完之后要 还会连接returnResource applicationContext.xml redis.properties: Test: 阅读全文
posted @ 2016-09-12 13:48 james-roger 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 扩展的applicationContext文件列表 --> 阅读全文
posted @ 2016-09-12 11:11 james-roger 阅读(1722) 评论(0) 推荐(0) 编辑
摘要: error/500 阅读全文
posted @ 2016-09-12 11:10 james-roger 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-09-12 10:53 james-roger 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 在网站中经常需要进行在线人数的统计。过去的一般做法是结合登录和退出功能,即当用户输入用户名密码进行登录的时候计数器加1,然后当用户点击退出按钮退出系统的时候计数器减1。这种处理方式存在一些缺点,例如:用户正常登录后,可能会忘记点击退出按钮,而直接关闭浏览器,导致计数器减1的操作没有及时执行;网站上还 阅读全文
posted @ 2016-09-12 10:31 james-roger 阅读(2895) 评论(0) 推荐(0) 编辑

2016年9月9日

摘要: 1. 加密,用以下命令将用户名和密码加密 cmd命令行执行 java -cp D:/druid-1.0.13.jar com.alibaba.druid.filter.config.ConfigTools 用户名/密码 得到密文: f0PSl0Lzxh6CxzuFIdEg+wVx045fSE2VtU 阅读全文
posted @ 2016-09-09 14:36 james-roger 阅读(4155) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 23 下一页