I'm with you, I think that I will put it in the session finally. Thanks!

Miguel

> -----Mensaje original-----
> De: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Enviado el: viernes, 22 de noviembre de 2002 7:09
> Para: Struts Users Mailing List
> Asunto: RE: Durability of a ActionForm
>
>
> You cant.
>
> Once your page has been rendered to the client from the JSP your
> request is
> finished. Over. Finito. Dead. Pining for the fjiords. Joined the choir
> invisible...
>
> You will need to use the session.
>
> (Unless you want to make your ActionForm serializable, write it
> out as text
> to a hidden field or a cookie, and override the RequestProcessor to
> reinstantiate it on submission (which would still be a new
> object, but same
> data).- and you really dont want to do that...)
>
> -----Original Message-----
> From: M�guel �ngel Mulero Mart�nez
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 19:37
> To: Lista Struts
> Subject: Durability of a ActionForm
>
>
> Hi all,
>
> My question is how can I make for extend the durability of a request scope
> ActionForm. For example, in my Action I can do somethig like:
>
> request.setAttribute("form", form);
>
> In this way, the ActionForm that I retrieved from the JSP and
> arrived to the
> Action, will arrive to the next JSP.
> But, how can I do it in the JSP no make it arrive to the next Action?
>
> My problem is that I wan't to use a request ActionForm (not a
> session), and
> if I create it in the Action before the JSP, when I make a submit the
> ActionForm doesn't exist and Struts creates one new. If I don't put the
> Action before the JSP, then Struts creates it in the JSP and it calls the
> submit function when I make submit. I wan't to achieve the second without
> putting the ActionForm in session scope and creating it in the
> Action before
> the JSP.
>
> Thanks all!!
> Miguel
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to