You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by AAAA ASJJUA <ja...@hotmail.com> on 2003/07/22 17:22:51 UTC

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


RE: Servlet 2.2: Access Objects Application Scope

Posted by Mark Galbreath <ma...@qat.com>.
oops

this.servlet.getServletConfig().getServletContext();

-----Original Message-----
From: Mark Galbreath [mailto:mark_galbreath@qat.com] 
Sent: Tuesday, July 22, 2003 11:59 AM
To: 'Struts Users Mailing List'
Subject: RE: Servlet 2.2: Access Objects Application Scope


this.servlet.getServletConfig.getServletContext()

Mark

-----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



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


RE: Servlet 2.2: Access Objects Application Scope

Posted by Mark Galbreath <ma...@qat.com>.
this.servlet.getServletConfig.getServletContext()

Mark

-----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