On Thu, 30 Dec 2004, Alessandro Polverini wrote:

On Thu, 2004-12-30 at 08:04 -0600, Heath Borders wrote:
I think the FacesConfigurator requires that they be in the WEB-INF/lib
directory, I think putting them anywhere else starts making
assumptions about your web container.

So if I have 10 (or 100) web applications I need to have 10 (or 100) copies of the *same* jars over and over?

That seems a waste of space and resources to me. For example, when a new
release is out, it's better to upgrade just one set of jars (like I do,
for example with JSTL), instead of redeploy all the web applications,
and look for the ones using myfaces.

Is there any way to overcome the problem?

Please see the following pages:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html
http://struts.apache.org/userGuide/configuration.html#config_add

While the latter was written for Struts, the same principles apply to MyFaces.

--
Martin Cooper


Thanks for the reply,
Alex



Reply via email to