struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Márcio Roberto <mar...@lar.cefet-ce.br>
Subject errors lost when forward to Action?
Date Fri, 02 May 2003 22:53:34 GMT
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-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message