cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <>
Subject Re: JSP Again
Date Wed, 02 Apr 2003 09:30:39 GMT
The JSPEngine in Cocoon simply calls another servlet to get the result of
JSP and then the output is served directly via JSPReader or parsed into XML
via JSPGenerator and then served.

So Jasper won't work on Jetty, cause seems that it has dependencies on
Tomcat. To make JSPs work you should change Cocoon configuration to use
appropriate servlet from Jetty. Take a look at <jsp-engine/> section in
cocoon.xconf and then at cocoon.roles from cocoon.jar . Change them as
needed and try again.

BTW, why do you want to use JSP when XSP is more efficient for XML


From: "Sushil Bhattarai" <>

> Newer version of JBoss (JBoss Web) comes with Jetty. I'm using JBoss 3.0.4
> and I'm trying to get JSP work in my cocoon. Rest of the Cocoon stuff work
> fine, only JSP seems to be giving problem. I added jasper-compiler.jar
> because I read in one of the discussion list that it is needed for JSP to
> work. It's not helping here though.
> Sushil
> >
> >This looks like an error in your JSP or in the Jasper compiler. Take a
> >at the generated source to see what's wrong. And also it's a little
> >that the java file for your JSP is generated in a ...\Jetty...\
> >Are you using Tomcat? I'm not sure that Jasper compiler works with Jetty.
> >
> >Konstantin

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

View raw message