Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » JSF config file outside WEB-INF?
JSF config file outside WEB-INF? [message #620428] Wed, 02 September 2009 01:47
Debajit Adhikary is currently offline Debajit AdhikaryFriend
Messages: 8
Registered: July 2009
Junior Member
When creating multiple faces config files, it is correct to have the
faces-config.xml outside of WEB-INF? The JSF spec does not seem to be very
clear about this (Section 10.1.3)

If yes, how should this faces-config.xml be declared in web.xml? The paths
generated by IDE's (like Eclipse/JDev) generally 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 faces-config.xml is outside WEB-INF -- is it correct to declare
the param-value as something like "/WebContent/WEB-INF/faces-config2.xml"?
Previous Topic:JSF config file outside WEB-INF?
Next Topic:JSF faces config file outside WEB-INF?
Goto Forum:
  


Current Time: Fri Apr 26 02:57:46 GMT 2024

Powered by FUDForum. Page generated in 0.04245 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top