suddal72
Aug 3rd, 2005, 05:24 AM
hi
now i used propertyConfigurer like this
====================================
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyP laceholderConfigurer">
<property name="locations">
<list>
<value>classpath:/app.properties</value>
</list>
</property>
</bean>
====================================
app.propertis
aaa=aaaaaa
bbb=bbbbbb
and i want to use propertyconfigurer in svr class
how can i wire and use properties values..
i want to use the value like this
ex)
String value = propertyConfigurer.getValue("aaa");
is it possible ??
now i used propertyConfigurer like this
====================================
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyP laceholderConfigurer">
<property name="locations">
<list>
<value>classpath:/app.properties</value>
</list>
</property>
</bean>
====================================
app.propertis
aaa=aaaaaa
bbb=bbbbbb
and i want to use propertyconfigurer in svr class
how can i wire and use properties values..
i want to use the value like this
ex)
String value = propertyConfigurer.getValue("aaa");
is it possible ??