Hey Greg,
Generally we try to avoid promoting access to those things directly
(setters and ActionContext.getSession() should suffice 99% of the time),
but you can get them via ServletActionContext.getXxx().

-Pat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 3:13 PM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] Getting HttpSession, Requests, etc

This may be a stupid question.  I have been reading through a 
couple of tutorials and examples trying to get the gist of WW2.  I 
realize that WW2 is really decoupled from J2EE but I am curious 
as to how I can gain access to Sessions and HttpServletRequests 
and the like.  For example, saving a UserBean in the session for 
use in other Actions and JSP's, how do I get an instance of the 
HttpSession from within my Action class?
-- 
Gregg Bolinger
www.embeddedthought.com


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to