You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by tcs 777 <tc...@hotmail.com> on 2003/10/20 16:18:06 UTC
Re: Struts-config : forward to an "action.do" => How to retrieve an ActionError
from this "action.do"
a forward to an action:
fwd= new ActionForward();
fwd.setPath("/action.do");
store your errors in the session or request:
session.setAttribute("org.apache.struts.action.ERROR", errors);
or
request.setAttribute("org.apache.struts.action.ERROR", errors);
>From: "Florent LOTHON" <fl...@agf.fr>
>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>To: "Struts" <st...@jakarta.apache.org>
>Subject: Struts-config : forward to an "action.do" => How to retrieve an
>ActionError from this "action.do"
>Date: Mon, 20 Oct 2003 12:58:39 +0200
>
>LO
>
>I have to make a forward to an action : "action.do"
>
>In my action.do, i would like to retrieve an ActionError
>Probably from "request" object
>
>But how can i do this ?
>
>Flo
>
>
>------------------------------
>Ce message est protege par les regles relatives au secret des
>correspondances ; il peut en outre contenir des informations a caractere
>confidentiel ou protegees par differentes regles et notamment le secret des
>affaires ; il est etabli a destination exclusive de son destinataire. Toute
>divulgation, utilisation, diffusion ou reproduction (totale ou partielle)
>de ce message, ou des informations qu'il contient, doit etre prealablement
>autorisee.
>Tout message electronique est susceptible d'alteration et son integrite ne
>peut etre assuree. Les AGF declinent toute responsabilite au titre de ce
>message s'il a ete modifie ou falsifie.
>Si vous n'etes pas destinataire de ce message, merci de le detruire
>immediatement et d'avertir l'expediteur de l'erreur de distribution et de
>la destruction du message.
>This message is protected by the secrecy of correspondence rules ;
>furthermore it may contain privileged or confidential information that is
>protected by law, notably by the secrecy of business relations rule ; it is
>intended solely for the attention of the addressee . Any disclosure, use,
>dissemination or reproduction (either whole or partial) of this message or
>the information contained herein is strictly prohibited without prior
>consent.
>Any electronic message is susceptible to alteration and its integrity
>can not be assured. AGF declines any responsibility for this message in
>the event of alteration or falsification..
>If you are not the intended recipient, please destroy it immediately and
>notify the sender of the wrong delivery and the mail deletion.
>------------------------------
>
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org