struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shirishchandra.sakh...@ubs.com
Subject RE: Re: Pass a ActionForward via the session.
Date Fri, 06 Dec 2002 11:50:32 GMT
Hi,
U can definately do this.BEcause forward is nothing else but another java 
object.So u can put it in session scope(i will prefer request scope if its just 
to share between 2 actions which are handling same request).Also about handling 
it in servlet i dont think it is a good idea as this is just a very specific 
behaviour related to one action .So it should not be moved to servlet which is 
the controller.

regards,
Shirish

-----Original Message-----
From: marklowe [mailto:marklowe@libero.it]
Sent: Thursday, December 05, 2002 6:26 PM
To: struts-user
Cc: marklowe
Subject: Re: Pass a ActionForward via the session.


I guess you could..

Just define forward one to fire up action2

Forward1 does /secondaction.do

But cant you mess with the session in the action servlet  and then forward?

Cheers amrk

On 5-12-2002 18:22, "ROSSEL Olivier" <olivier.rossel@airbus.com> wrote:

> I wish to pass an ActionForward to an action via the session.
> Is it possible?
> 
> Action1 has several forward available.
> It saves on ein the session.
> 
> Action2 retrieves this forward from the session, and use it
> to forward there.
> 
> 
> ---cut here---
> 
> 
> This e-mail is intended only for the above addressee. It may contain
> privileged information. If you are not the addressee you must not copy,
> distribute, disclose or use any of the information in it. If you have
> received it in error please delete it and immediately notify the sender.
> Security Notice: all e-mail, sent to or from this address, may be
> accessed by someone other than the recipient, for system management and
> security reasons. This access is controlled under Regulation of
> Investigatory Powers Act 2000, Lawful Business Practises.
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 
> 


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



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


Mime
View raw message