basically yes, since you can provide multiple config-files to JSF,
separated by comma, with the following context-param in your web.xml :
<context-param>
<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 (If there is file named 'faces-config.xml' available,
it will automatically parsed by MYFACES)
</description>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/myconfig.xml,/WEB-INF/custom-components.xml</param-value>
</context-param>
regards
ronald
Pfau, Oliver wrote:
Hi,
I have two faces servlets in one war file. Is it possible to provide
each of the servlets a specific faces config xml file in web.xml ?
Greetings
Oliver
--
*********************************************************
*M-Unicomp GmbH
*
*Dipl.-Ing. Ronald Müller
*Softwareentwicklung
*
*Plauener Straße 163-165, Haus 11
*13053 Berlin
*
*fon : +49 ( 0 ) 30 / 98 69 61 54
*mobil : +49 ( 0 ) 172 / 93 95 00 4
*fax : +49 ( 0 ) 30 / 98 69 61 55
*email : [EMAIL PROTECTED]
*web : www.unicomp-berlin.de
********************************************************