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