Dunno about Apache, but in Tomcat, you can add a <load-on-startup> tag to
the <servlet> element in web.xml. That will both load the servlet and call
its init() method.
-- Bill K.
> -----Original Message-----
> From: Vinoj Vijayan [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 15, 2001 11:32 PM
> To: '[EMAIL PROTECTED]'
> Subject: Require help
>
>
> Hi
> We are using Apache 1.3.12 as the web server with Tomcat as the
> JSP/Servlet engine. We have the following requirement, we are
> to instantiate
> a class when the server starts up. How do we do this ? Do we have to
> add/modify lines in the configuration files for apache and/or tomcat?
>
> Please help.
>
> Thanks and Regards
> Vinoj
>