Hi Oliver:
some times I met the similar problem and very difficult to explain.
I think jsp is very sensitive to some strange conditions?
Any one can teach me?
Xunming
Olivier Mangez wrote:
> I don't understand the behavior of <jsp:forward ... /> :
>
> If my JSP page looks like this, it works :
>
> html code
> <%@ page ... %>
> <jsp:forward ... />
> <jsp:useBean ... />
> ...
>
> If my JSP page looks like this, it fails :
>
> html code
> <%@ page ... %>
> <jsp:useBean ... />
> <jsp:forward ... />
> ...
>
> java.lang.ClassCastException
> at
> E_0003a.work.csi_00025_00025rum.src.csiforum.jsp.index_jsp_5._js
> pService(index_jsp_5.java, Compiled Code)
> ...
>
> Could you tell me why ?
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets