You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Márcio Roberto <ma...@lar.cefet-ce.br> on 2003/05/03 01:02:00 UTC

errors lost when forward to Action?

Hello,

   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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org