Re: Running code on Tomcat startup

2006-06-22 Thread Pid
lookup ServletContextListener Andrew Braae wrote: > I've handled this by using a servlet filter that intercepts all requests > (something like this in your web.xml file)... > > > Do Startup Filter > /* > > > Then inside the do.. method you can set up your object and attach to either

Re: Running code on Tomcat startup

2006-06-22 Thread Andrew Braae
I've handled this by using a servlet filter that intercepts all requests (something like this in your web.xml file)... Do Startup Filter /* Then inside the do.. method you can set up your object and attach to either a context such as your session or to the ServletContext (if you want