When creating configuration files with multiple faces, is it correct to have faces-config.xml outside WEB-INF? The JSF specification does not seem to be very clear (section 10.1.3)
If so, how should this faces-config.xml file be declared in web.xml? paths created by the IDE (e.g. Eclipse / JDev) usually use something like:
<context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config1.xml</param-value> </context-param>
Now, if my face-config.xml is outside WEB-INF - is it correct to declare the parameter value as "/WebContent/WEB-INF/faces-config2.xml"?
java jsf web-inf faces-config
Plaguehammer
source share