Solved it myself. myErrors.add("createUser", new ActionError("error.createUser.2")); this.saveErrors(request, myErrors); return (mapping.findForward("failure"));
where myErrors is an ActionErrors() object. Works like a charm //Linus "Linus Nikander" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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]