public ActionForward executeWithErrorHandling ( ActionMapping mapping , ActionForm form , HttpServletRequest request , HttpServletResponse response , ActionErrors errors ) { log . fine ( "public ActionForward performWithErrorHandling(ActionMapping mapping, ActionForm form," + "HttpServletRequest request, HttpServletResponse response, " + "ActionErrors errors): called" ) ; HttpSession session = request . getSession ( ) ; DynaBean dynaForm = ( DynaActionForm ) form ; // Redirect to the specified location String redirect = ( String ) dynaForm . get ( REDIRECT ) ; log . fine ( "redirect = " + redirect ) ; return new ActionForward ( redirect , true ) ; }
Handles an HTTP request sent to this action by struts . This simply forwards to the location specified by the redirect request parameter .