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