重回起点

导航

 

2019年1月11日

摘要: 因为生产和开发测试的环境不同,所以有时候需要把properties文件放在包外方便修改配置。 spring配置文件如下: <context:property-placeholder location="file:${user.dir}/wbaobei/conf/data-access.propert 阅读全文
posted @ 2019-01-11 14:58 重回起点 阅读(168) 评论(0) 推荐(0) 编辑
 
摘要: // FileInputStream in = new FileInputStream(System.getProperty("user.dir") // + File.separator + "config" // ... 阅读全文
posted @ 2019-01-11 14:23 重回起点 阅读(110) 评论(0) 推荐(0) 编辑