Moiristo schrieb:
> JSF needs the faces-config file. I guess they have hard-coded a check
> for this.
Thanks for reply. But how can i remove this hard-coded check since i
have my faces-config.xml in other place of the project. And i dont want
to build a new project... T_T
any idea?
db
Moiristo - 15 Aug 2006 20:10 GMT
> Moiristo schrieb:
>
[quoted text clipped - 4 lines]
> have my faces-config.xml in other place of the project. And i dont want
> to build a new project... T_T
Well, with Apache Myfaces, you can specify the location of the
faces-config file in the webapp web.xml file like this:
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
/WEB-INF/faces-config.xml
</param-value>
<description>
Comma separated list of URIs of (additional) faces
config files.
(e.g. /WEB-INF/my-config.xml)
See JSF 1.0 PRD2, 10.3.2
</description>
</context-param>