当前位置: 代码迷 >> Web前端 >> spring加载java属性资料
  详细解决方案

spring加载java属性资料

热度:405   发布时间:2012-10-30 16:13:35.0
spring加载java属性文件

<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
	<property name="locations">
		<list>
			<value>src\properties\jdbc.properties</value>
			<value>src\properties\constant.properties</value>
		</list>
	</property>
</bean>

  相关解决方案