never mind - found it
for those wondering - in an Action class...

ActionErrors errors = new ActionErrors();
request.setAttribute(this.ERROR_KEY, errors);

-----Original Message-----
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 12:40
To: Struts Users Mailing List
Subject: can ActionError be returned by Action?


Is there any way that an ActionErrors object can be returned by
Action.perform (in the same way it can be returned by ActionForm.validate)?
I would like to use the html:errors tags in my JSP to handle output from
exceptions received in the Action.perform method. But I'm not sure how to
set the html:errors property since I can't return the ActionErrors object
directly.

Is there a way to make this work?

thx
andy




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



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

Reply via email to