cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: <jsp:forward> in jsp causeing error
Date Thu, 14 Feb 2002 16:07:23 GMT
> From: Gasper [mailto:gasper-lists@gorenc.com]
> 
> Hello
> 
> I'm building a site using cocoon 2.0 and jsp's for dynamic content In
my jsp
> I'm trying to forward to a page using a simple <jsp:forward> tag but
this
> causes an error below. I'm using tomcat 3.2.3
> 
> Does anybody know a solution?

Don't use forward or patch Tomcat (Or even better: migrate to XSP). For
some reason Tomcat tries to cast ServletRequest object.

> Is this a bug?

A feature of Tomcat :)

Vadim

> 
> Thanks
> 
> Gasper

<snip/>
 
>  Original exception : java.lang.ClassCastException:
> org.apache.cocoon.components.jsp.JSPEngineImpl$MyServletRequest
>  at
>
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatch
erIm
> pl.java:172)
>  at

<snip/>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message