There is a protected method in Action class Called saveErrors (ActionErrors, HttpServletRequest)
So when you detected an error you can create ActionErrors Object and use the method above right before you redirect to The view. As for exceptions: you can declare exceptions handlers In your struts-config.xml. HTH, Alex. > -----Original Message----- > From: Linus Nikander [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2003 7:31 AM > To: [EMAIL PROTECTED] > Subject: Passing errors that occur in an Action to the presentation tier > > How do you guys pass error information, about an error, to the > presentation > tier when a > call within an action results in an error (either a nonfatal error in the > form of a statuscode, or a fatal error in the form of an exception) ? > > I find the mechanism for sending form validation errors to the > presentation > tier extremely usefull, i was wondering if there is anything similar for > errors that occur within an action ? > > //Linus Nikander - [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]

