Thanks for the advice, David :)!

But isn't it more troublesome (coz I gotta manually remove it afterwards :P) / 
memory intensive to store variables in session scope instead of request scope? 
Coz I thought (from reading somewhere on the Internet) that we should generally 
restrict the scope as much as we can, as a form of best practice.

Regards,
Keng Onn.

=== Orig Message ===
Subject: RE: user Digest 24 Mar 2005 14:53:20 -0000 Issue 5708
From: "David G. Friedman" <[EMAIL PROTECTED]>
Date: Sun, 27 Mar 2005 23:24:08 -0500
To: "Struts Users Mailing List" <user@struts.apache.org>

Keng Onn,

If you just want the "groupId" and "action" variables, you could always put
them in session scope, perform a forward with redirect="true", then read the
groupId and action from the session scope in the new action.  Just be sure
to remove those variables from session scope IF you don't need them anymore.

Regards,
David, an Caucasian with an English name :)



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



Reply via email to