Try this in a Action instance: javax.servlet.ServletContext ctx = this.getServlet().getServletContext(); Object obj = ctx.getAttribute("key"); ctx.setAttribute("key", obj);
-----Original Message----- From: John Jones [mailto:[EMAIL PROTECTED]] Sent: Samstag, 23. März 2002 17:00 To: Struts Users Mailing List Subject: Application scope beans Does anyone out there know how to access objects in application scope from a servlet? We want to have a startup servlet that puts a bunch of beans in application scope on application server startup. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>