on-internet
← Community

using a

Stack Overflow ·

Environment: Windows server 2003, Spring 3.0, Tomcat 6 How can I reference a JNDI property inside a PropertyPlaceholderConfigurer? Specifically, I'm using JNDI to look up a java.lang.String that represents a path to a property file needed by my webapp <jee:jndi-lookup id="mypropsfile1" jndi-name="myPropsFile1" resource-ref="true"/> <jee:jndi-lookup id="mypropsfile2" jndi-name="myPropsFile2" resource-ref="true"/> <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="ignoreUnresolvablePlaceholders" value="true"/> <property n

Comments

Sign in or sign up to comment and upvote.

No comments yet.