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
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
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
.
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
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