我有过
<bean id="dao" class="......">
<property name="foo">
<props>
<prop key="me">Homer</prop>
<props>
<property>
</bean>我想要使用我当前的属性文件,名称-值对,来更改"Homer“我无法弄清楚...
发布于 2008-12-02 04:45:34
使用PropertyPlaceholderConfigurer bean。示例如下:
http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-placeholderconfigurer
https://stackoverflow.com/questions/332612
复制相似问题