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 generation? Konstantin From: "Sushil Bhattarai" <[EMAIL PROTECTED]> > 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 look > >at the generated source to see what's wrong. And also it's a little strange > >that the java file for your JSP is generated in a ...\Jetty...\ directory. > >Are you using Tomcat? I'm not sure that Jasper compiler works with Jetty. > > > >Konstantin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]