Environment: struts-1.1, jboss3.2.3 with embedded
tomcat.
My ActionClass saves errors and returns. However, the display page that has the <html:errors/> tag does not display anything. After digging deeper I see that the Errors saved in the Action class using saveErrors(request, errors) are lost, ie., errors stored in HttpServletRequest are lost by the time it reaches the
jsp. Debugging further, I see that down in the
Struts RequestProcessor, in the doForward() method, the errors are still present. Then when the RequestDispatcher dispatches the request, the errors are not present as found in the tag. I noticed, that if I place the errors in the session, that seems to work. However, i dont want to keep these errors in the session.
Why are my errors being cleared out when all I am doing is a forward and not a redirect? Thanks for your assistance in advance.