使用加载多个属性文件 在Spring3
问题内容:
我想<util:properties>
在Spring3应用程序中使用标签加载多个属性文件。我在博客上进行了搜索,但没有获得正确的路径来做到这一点。
希望有人给我答案以克服这个问题。
问题答案:
我的解决方案
<context:property-placeholder location="classpath*:*.properties,file:/some/other/path/*.properties" />