Invoke the Action class' saveErrors() method to save it to the request. 

The <html:errors/> will find it.

Sri

-----Original Message-----
From: Andy Kriger [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 12:40 PM
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