hi,

if you use redirect=true , it would create a new request.. so what ever u had on the reqest will be lost. i think u have your action in request socope, you can change them to session scope and make sure you removed the Form and other attribute you put on the session after the action is finished.

Regards,

Nuwan


----- Original Message ----- From: "fea jabi" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Tuesday, November 21, 2006 6:49 AM
Subject: why/when to use redirect


I am not really clear when to use redirect=true.

I am chaining actions. As I was doing this I had to use redirect=true to get the values that were set in one action to another. But the request attributes set in that action were lost when redirect is set to true. why is that? is there any way, I can use redirect=true and also get the request attributes???

also, not really sure when to use the contextRelative=true/false/yes/no??


Thanks.

_________________________________________________________________
Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk


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



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

Reply via email to