Hi stephan,
For ur problem i recommend that u use action messages not actionerrors..
http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-summary.html#doc.Other.messages
hope the above link helps..
Thanks
Prashanth


Stephan Wiesner <[EMAIL PROTECTED]> wrote:
Hi Anurag,
your proposal works for me, but how can I recall the value? I can get at
it with but I want to display it by key, not all stored
values?

Stephan

Anurag Garg wrote:

>Hi,
>
> U can create the ActionError object and add them in the ActionErrors class
>in the action class.
> Now to forward the request to some resource add the actionerrors object
>method in the sendError().
>
> Use saveErrors(request,errors) in the action class.
>
> where errors is an object of type ActionClass.
>
>Anurag Garg.
>
>
>-----Original Message-----
>From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED]
>Sent: Thursday, July 24, 2003 11:36 PM
>To: [EMAIL PROTECTED]
>Subject: How to add action errors from action class's execute method
>
>
>Hello all,
>
>How would you add action errors from an action class's execute method?
>
>I would like to be able to add errors and forward to another resource
>without the need to do it in the validate method of the form bean.
>
>Thanks,
>
>Joshua
>
>
>
>This communication, including attachments, is for the exclusive use of
>addressee and may contain proprietary, confidential or privileged
>information. If you are not the intended recipient, any use, copying,
>disclosure, dissemination or distribution is strictly prohibited. If
>you are not the intended recipient, please notify the sender
>immediately by return email and delete this communication and destroy all
>copies.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> 
>



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



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Reply via email to