I am currently experiencing a problem with the Struts error handling framework. I am trying to use the error handling framework from ActionForm and LookupDispatchAction classes.
The problem I have is in regards to display of error messages. I have found that error messages are being displayed correctly using the <html:errors/> tag from a ActionForm validate method, but are not being displayed using the LookupDispatchAction methods. Please see below: ActionForm public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) { ActionErrors errors = new ActionErrors(); errors.add("field", new ActionError("messageKey")); return errors; } LookupDispatchAction public ActionForward next(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { ... ActionErrors errors = new ActionErrors(); errors.add("field", new ActionError("messageKey")); if(!errors.isEmpty()) { saveErrors(request, errors); } return (ActionForward)mapping.findForward(target); } Could someone please tell me why this is so. I would be most interested if anyone could provide a solution for this. NOTE: I am using the Struts version 1.1 release with tomcat version 4.1.24 Yours Sincerely Rodney Paul ps. You can contact me via email at [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]