struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerald Powel <>
Subject error tag
Date Mon, 22 Dec 2003 02:45:13 GMT


     I am handling my errors and constructing an errors object thus:

ActionErrors errors = new ActionErrors();
                errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("Initialisation error
- userID not found"));
                saveErrors(request, errors);
                return mapping.findForward(FORWARD_error);

how from the JSP do I iterate over the errors object and retrieve the messages please? I have
tried <html:errors/> but nothing was rendered to the screen?



  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message