Hi Jerald,

The single-string ActionError class constructor that you are invoking
interprets the parameter passed to it as a key of a message string defined
in your Application.properties file (this file is usually placed under the
classes/resources directory).

HTH

Noel

-----Original Message-----
From: Jerald Powel [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 9:45 PM
To: Struts Users Mailing List
Subject: [other] error tag



Hello,

     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?

thanks

G


---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to