base of java
u010998469
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java web项目读取配置文件(.properties)
web 项目中,当用到一些用户名、密码等可变属性时,尽量使用properties格式的文件存放。下面说明一下如何在项目读取配置文件: 这只是一种方式,还有其他方式可以读取 private static Properties prop = new Properties(); static { InputStream in = ClassName.class.getResou原创 2014-12-17 16:14:40 · 799 阅读 · 0 评论 -
log4j File Appender
A typical requirement in the project is to log different modules in different log files. For instance in this example we have two modules one for the admin and other for reports. 在项目中有一个典型的需求,就是在不翻译 2015-02-26 13:59:28 · 616 阅读 · 0 评论
分享