I\'m using Spring and struts and have the following entry in \'/META-INF/context.xml\'
It's not possible using Spring's PlaceholderPropertyConfigurer (which only replaces values inside Spring context).
It is, however, possible using Ant during build process using Replace task. Something like:
Note that the above takes property names as tokens to be replaced - e.g. you'll need to use "jdbc.url" and not "${jdbc.url}" in your context.xml. If latter is absolutely required it can be achieved by explicitly naming tokens to be replaced as nested
elements.