Referencing files outside webroot
Hi.
I need to reference a jdbc.properties outside of /webapps/<webroot>, and am currently trying to do this using a PropertyPlaceholderConfigurer. However, the amount of success is very limited.
Code:
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<!--property name="location"><value>/WEB-INF/jdbc.properties</value></property-->
<property name="location"><value>/../../app_local_config/avik2/jdbc.properties</value></property>
</bean>
Two questions:
1) Does PropertyPlaceholderConfigurer support relative paths?
2) Is there a more clever way of accessing files/properties/etc outside of /webapps and(or) /approot?
Thanks in advance!
Sincerely,
/The Cantor
"Murphy was an optimist"
(The O'Toole commentary on Murphy's Law)