You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jimmy Emmanual <ji...@imsi.com> on 2003/06/05 18:53:37 UTC

Action Errors

Is there a way to save the ActionErrrors in Session Scope and still have it
recognized by <html:errors /> in the jsp.

I've got the Errors Object saved to session by:

HttpSession session = request.getSession(false);
session.setAttribute(org.apache.struts.Globals.ERROR_KEY,errors);

( where errors is my ActionErrrors Object )

However, the jsp page doesn't display the error values ( it does however
display the key, all the time ).

I need it in session scope b/c in the application the Action Class is
redirecting NOT forwarding and so the request and response objects are
lost...

Thanks,

Jimmy

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org