Is there any way that I can use the ActionErrors and ActionError to display
error messages that I get from the back-end of my application.

For Example:
if I get an error message I would like to do something like this.

ActionErrors ae = new ActionErrors();

if(myResponse.getStatus().equals("ERROR")){
    ae.add("reason", new ActionError(myResponse.getReason()));
}

...That way I can show the reason for the error like the other error
handlers do?

thanks in advance.
Gus

Reply via email to