I have
<bean id="dao" class="......">
<property name="foo">
<props>
<prop key="me">Homer</prop>
<props>
<property>
</bean>
I want to use my current properties file, name-value pair, to change "Homer" I cannot figure it out...
Use the PropertyPlaceholderConfigurer bean. Example here:
http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-placeholderconfigurer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With