Is it possible to use .properties files in web.xml in conjunction with contextConfigLocation paramet
- by Vladimir
Here is part of my web.xml:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:application-config.xml
</param-value>
</context-param>
application-config.xml uses property placeholder:
<context:property-placeholder location="classpath:properties/db.properties"/>
Is it possible somehow to define which properties file to use in web.xml rather than in application-config.xml?