org.springframework.beans.factory.config.PropertyPlaceholderConfigurer属性占位符
<beans>
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<!--
使用location属性定义单个配置文件
<property name="location">
<value>classpath:/com/zsw/config/jdbc.properties</value>
</property>
-->
<!-- 使用locations属性定义多个配置文件 -->
<property name="locations">
<list>
<value>classpath:/com/zsw/config/jdbc.properties</value>
</list>
</property>
</bean>
</beans>