If you are just trying to determine whether or not there are outstanding
errors to be displayed, you should look for the ActionErrors object, which
is stored under the key Action.ERROR_KEY.

--
Martin Cooper


----- Original Message -----
From: "Hartmut Bernecker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 5:55 AM
Subject: How to detect an ActionError in the JSP (logic:present)?


> Hello,
>
> In the validate method of the form class I return ActionErrors filled
> with some ActionError objects. In the JSP I have:
> <logic:present name="org.apache.struts.action.GLOBAL_ERROR">
> <p>error ocurred</p>[ ... ]
> </logic:present>
> Why is there no reaction (displaying of "error ocurred" ...)??
>
> Hartmut Bernecker
>


Reply via email to