Rob Kelley wrote:

> Hi:
>
> I'm running cocoon 2.0.2 on Tomcat  4.0.1 (Windows).  I've been trying 
> to run the hello example for the jsp:
>
> http://127.0.0.1:8080/cocoon/jsp/hello
>
> I get the same error (stack trace at end of email):
>
> /"SAXException JspGenerator.generate()"/
>
> My sitemap entry is:
>
>    <map:match pattern="jsp/*">
>     <map:generate src="/docs/samples/jsp/{1}.jsp" type="jsp"/>
>     <map:transform src="stylesheets/page/simple-page2html.xsl"/>
>     <map:serialize type="html"/>
>    </map:match>
>
> My cocoon.xconf jsp-engine is:
>
>   <jsp-engine logger="core.jsp-engine">
>     <parameter name="servlet-class" 
> value="org.apache.jasper.servlet.JspServlet"/>
>     <parameter name="servlet-name" value="*.jsp"/>
>   </jsp-engine>
>
> And I'm at wit's end. How do I get JSPs to work?
>
> Please help!
>
> Rob
>
> **
>
Hi Rob!

Try copy jasper-compiler.jar into cocoon/WEB-INF/lib/  directory from 
$CATALINA_HOME/lib

Regards.
Yury.



---------------------------------------------------------------------
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]>

Reply via email to