At 3:13 AM -0400 5/17/04, Shyamal Shah wrote:
I need to use session object in my Action Form class. Can I use either session or request object in my form class? If yes can someone please suggest how can I do that?

What exactly do you mean by "need"?

With the current Struts architecture, there's not really any way to have Struts give a session to the ActionForm (for which it has the responsibility of creating). In theory, in an Action's execute method, you could give a session to the form object, but I don't think that's really going to achieve what you want.

So why does your ActionForm "need" the session?

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining."
-- Jef Raskin


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



Reply via email to