struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suzette Daniel <sdan...@waca.com>
Subject RE: Servlet 2.2: Access Objects Application Scope
Date Tue, 22 Jul 2003 15:24:42 GMT
servlet.getServletContext(), "servlet" is a publicly accessable data member.

Suzette 


-----Original Message-----
From: AAAA ASJJUA [mailto:ja_20053@hotmail.com] 
Sent: Tuesday, July 22, 2003 11:23 AM
To: struts-user@jakarta.apache.org
Subject: Servlet 2.2: Access Objects Application Scope


Hi All,

I was wondering if there is a way to access objects in the application scope

from the Action class. I cannot use  
request.getSession().getServletContext() because I am using the Servlet 2.2 
spec and the getServletContext() method is not available on HTTPSession in 
this revision. Any ideas?

Thanks!

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message