Re: Startup class in Tomcat 5.x

2005-06-15 Thread David Smith
The servlet spec is your friend: http://www.jcp.org/en/jsr/detail?id=154 Among other things, SRV.10 of the spec describes the use of event listeners like javax.servlet.ServletContextListener for handling events like when a webapp starts or stops. Completely portable to all servlet 2.4 spec co

Startup class in Tomcat 5.x

2005-06-15 Thread Sethuraman, Prabhu \(Cognizant\)
Folks, Is there a way in which we can write a startup class in Tomcat. Similar to what we have in Weblogic? I am aware of the approach of writing a servlet and setting load-on-startup to 1. But wanted to confirm if this is really the only way out. Cheers, Prabhu S This e-mail and any files