Correct Whatever the reason you need to access the session, you can do that using the request passed to the two methods Atta mentions. Getting a reference to the session from the request is trivial: HttpSession session = request.getSession();
-----Messaggio originale----- Da: atta-ur rehman [mailto:[EMAIL PROTECTED] Inviato: luned́ 17 maggio 2004 20.57 A: Struts Users Mailing List Oggetto: Re: use of session object in Action Form? Hi, As far as I know, both the reset() and validate() method are passed the request object. You could get the session from this request object. HTH, ATTA ----- Original Message ----- From: "Shyamal Shah" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, May 17, 2004 12:13 AM Subject: use of session object in Action Form? 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? Thanks, --------------------------------------------------------------------- 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]