【发布时间】:2013-06-22 14:23:59
【问题描述】:
<context:property-placeholder ignore-unresolvable="true" location="classpath:test.properties" />
上述从 contex:property-placeholder 加载属性文件的方法工作得很好。我想要做的是从文件系统加载属性文件。
假设我在 C 盘 C:\spring\test.properties 中有文件。在这里如何使用context:property-placeholder 加载文件。
【问题讨论】:
标签: spring properties