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 - http://www.anyware-tech.com
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>