cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: C2: javax.servlet... in XSP
Date Tue, 04 Sep 2001 16:37:11 GMT
Torsten Curdt wrote:
> I need to import some classes from the javax.servlet.http
> package in my XSP pages. With Tomcat 4b3 the javax package
> is unfortunately not known to the Cocoon classloader.
> Copying the servlet.jar into WEB-INF/lib prevents
> Cocoon to start. (Tomcat does not does not like this)
> Shouldn't javax be available in all ServletEngines
> automagically or is this more a Cocoon classloader problem?
> Maybe I can provide an extra classpath only to the Cocoon
> classloader??
> --
> Torsten
Just a guess : could you try adding servlet.jar in a directory that's 
not in the standard servlet classpath (e.g. WEB-INF/morelibs) and add it 
in the "extra-classpath" servlet parameter (e.g. 
WEB-INF/morelibs/servlet.jar) ?
Sylvain Wallez
Anyware Technologies -

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message