标签:
spring2.5之后导入属性文件的方法
在XML中加入
<context:property-placeholder location="classpath:db.properties"/> <bean id="" class=""> <property name="user" value="${user}"><property/> </bean> db.properties user=root
标签:
原文地址:http://www.cnblogs.com/img-zoom/p/4534414.html