Spring <prop> tag
18,232
Use the PropertyPlaceholderConfigurer bean. Example here:
Related videos on Youtube
Author by
CodeGuru
Updated on June 04, 2022Comments
-
CodeGuru almost 2 years
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...