You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by atta ur rehman <at...@kapsconsulting.com> on 2003/02/21 18:33:51 UTC
html:file tag and exception in validate method
Dear all,
One of our JSP has html:file tag in it. Whenever validate method of the associated ActionFrom returns any errors, the JSP container throws ClassCastException.
java.lang.ClassCastException
at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:171)
at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:114)
at org.apache.struts.tiles.ActionComponentServlet.processForward(ActionComponentServlet.java:277)
at org.apache.struts.tiles.ActionComponentServlet.processValidate(ActionComponentServlet.java:211)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1565)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
Disabling the validate method or returning null from it works just fine!
TIA for any help. BTW, we have STRUTS 1.0.2.
Regards,
ATTA
Re: html:file tag and exception in validate method
Posted by atta ur rehman <at...@kapsconsulting.com>.
Any comments, anybody?
----- Original Message -----
From: "atta ur rehman" <at...@kapsconsulting.com>
To: "struts users mailing list" <st...@jakarta.apache.org>
Sent: Friday, February 21, 2003 9:33 AM
Subject: html:file tag and exception in validate method
Dear all,
One of our JSP has html:file tag in it. Whenever validate method of the
associated ActionFrom returns any errors, the JSP container throws
ClassCastException.
java.lang.ClassCastException
at
com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.j
ava:171)
at
com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.j
ava:114)
at
org.apache.struts.tiles.ActionComponentServlet.processForward(ActionComponen
tServlet.java:277)
at
org.apache.struts.tiles.ActionComponentServlet.processValidate(ActionCompone
ntServlet.java:211)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1565)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
Disabling the validate method or returning null from it works just fine!
TIA for any help. BTW, we have STRUTS 1.0.2.
Regards,
ATTA
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org