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

Re: Startup class in Tomcat 5.x

2005-06-15 Thread David Smith
compliant containers. --David Sethuraman, Prabhu (Cognizant) wrote: 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

startup class in Tomcat

2001-01-23 Thread William Au
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) Bill - To unsubscribe, e-mail: [EMAIL PROTECTED

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 F