ServletContext sc = this.servlet.getServletContext();
Object obj = sc.getAttribute( "nameOfObject");

Mark

-----Original Message-----
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 9:36 AM
To: Struts Users Mailing List
Subject: [Core] Easy question!


Within an action, how can I get hold of an Object that has been stored
in the ServletContext inside which my struts app is running?

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

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

Reply via email to