struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Márcio Roberto <>
Subject errors lost when forward to Action?
Date Fri, 02 May 2003 22:53:34 GMT

   It seems that when you forward a request not to a JSP page but to an
action the errors seem to be lost. I have tried to catch the erros using
the code

 ActionErrors errors = new ActionErrors();
 Object value = request.getAttribute(Action.ERROR_KEY);
    if (name instanceof ActionErrors)
       errors = value;

 The ActionErrors instance comes but empty!
 Someone could help?!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message