
Originally Posted by
denis.zhdanov
PPC is a
PropertyPlaceHolderConfigurer
You can do the following - define a
PropertyPlaceHolderConfigurer bean directly at the config (i.e. don't use
<context
roperty-placeholder> element). You can find an example of how to do that at the reference - Example: the PropertyPlaceholderConfigurer[/URL]. If you still have the same behavior (the bean holds ${..} property), check PPC content via debugger. It should contain resolved
Properties object with resolved properties.
Hi denis,
I tried the following.
Code:
<bean id="propLoader" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<value>classpath:test.properties</value>
</property>
</bean>
test.properties does not exist but i dont get an exception or annything else.
with the following in debugging
Code:
<bean id="propLoader" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<value>classpath:jacavi.properties</value>
</property>
</bean>
localProperties of propLoader is null and in all the other members I can not find the stuff of my properties file.
Still anny ideas? 

cheers
Flo