spring 读取properties的两种方法
1.在配置文件中配置PropertyPlaceholderConfigurer
<context:property-placeholder location="dbconf.properties"/>
- 1楼FansUnion昨天 22:22
- 这2种方法应该算一种方法额...
发布时间: 2013-11-09 17:06:47 作者: rapoo
spring 读取properties的两种方法
1.在配置文件中配置PropertyPlaceholderConfigurer
<context:property-placeholder location="dbconf.properties"/>