I have a web application with a PropertyPlaceholderConfigurer that fetches properties from a somefile.properties.
In web.xml I have:
Code:<context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath*:applicationContext*.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener>
I was trying to set up this web.xml element:
where some.property is in my somefile.properties. However, this doesn't resolve. My question is: is it possible to use placeholder properties in web.xml ? If so, how?Code:<session-config> <session-timeout>${some.property}</session-timeout> </session-config>
Thank you for the help!


Reply With Quote
