You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Marc Baumgartner <mo...@gmx.de> on 2003/05/09 09:45:05 UTC

Error in JSP

Hi all,

I am using Cocoon 2.0.4, Tomcat 4.1.18 and Suse 8.2.

I use within my cocoon-application several JSPs. Including and forwarding the 
context (e.g. pageContext.forward("next.jsp")) causes an Error:

org.apache.cocoon.ProcessingException: ServletException in 
JSPReader.generate(): java.lang.IllegalStateException
        at org.apache.cocoon.reading.JSPReader.generate(JSPReader.java:150)


I have another problem with jsp in "deeper" directories:
My sitemap contains following entry:

<map:match pattern="**.jsp">
 <map:read type="jsp" src="{1}.jsp" mime-type="text/html;charset=ISO-8859-1"/>
</map:match>

Executing JSPs in the main-directory is no problem (e.g. "index.jsp", but if I 
want to execute a JSP in a deeper directory (e.g. "test/index.jsp") I get the 
folloing error:

The requested resource (/test/test/index.jsp) is not available.

Had anybody a same problem and found a solution?

Thanks in advance,
Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org