Re: App-level globals

2004-05-18 Thread None None
x27;s plenty more that ties you to Struts as an app is developed. Thanks! From: "Jacob Weber" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: App-level

Re: App-level globals

2004-05-17 Thread Jacob Weber
You can make a ContextListener class like this: public final class MyContextListener implements ServletContextListener { private ServletContext context = null; public BaseServletContextListener() {} public void contextInitialized(ServletContextEvent event) { this.context = event.

RE: App-level globals

2004-05-17 Thread Joe Germuska
At 5:33 PM +0100 5/17/04, Paul McCulloch wrote: Struts has plugins which, I think do the kind of thing you are after. Personally I've never used them - I just implement a ServletContextListener to do that sort of thing. This is exactly right: if you're using Servlet 2.2 (which doesn't have Servl

RE: App-level globals

2004-05-17 Thread Paul McCulloch
Struts has plugins which, I think do the kind of thing you are after. Personally I've never used them - I just implement a ServletContextListener to do that sort of thing. Paul > -Original Message- > From: None None [mailto:[EMAIL PROTECTED] > Sent: Monday, May 17, 2004 5:17 PM > To: [EM