Is it possible to use .properties files in web.xml in conjunction with contextConfigLocation paramet

Posted by Vladimir on Stack Overflow See other posts from Stack Overflow or by Vladimir
Published on 2010-03-25T13:38:53Z Indexed on 2010/03/25 14:23 UTC
Read the original article Hit count: 407

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about web.xml

Related posts about spring