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

RE: startup class in Tomcat

2001-01-23 Thread Stefán F. Stefánsson
. Regards Stefan -Original Message- From: William Au [mailto:[EMAIL PROTECTED]] Sent: 23. janar 2001 15:43 To: [EMAIL PROTECTED] Subject: Re: startup class in Tomcat The way I understand it, load-on-startup will only work on a servlet, and only the init() method is called. What I

Re: startup class in Tomcat

2001-01-23 Thread Craig R. McClanahan
William Au wrote: Besides setting load-on-startup in the web.xml file, is there another way to have a startup class define in Tomcat? ( ie I want a class to run whenever Tomcat is started) Tomcat 4.0 implements the new "application events" feature of the Servlet 2.3 (Proposed Final Draft)