That's also in the <servlet> tag in web.xml: use the <load-on-startup>
element.
The complete DTD for web.xml is available in the servlet spec, at
http://java.sun.com/products/servlet/download.html
and as a separate DTD, at
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
-- Bill K.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 8:15 AM
> To: [EMAIL PROTECTED]
> Subject: instanciate a servlet when tomcat starts
>
>
> Hi,
>
> I've a servlet that loads properties from a file to load them
> in the System
> properties.
> I'd like this servlet to be instanciated when Tomcat starts.
> With Jserv, i used the zone.properties file.
> I think it must be simple, but i really don't now tomcat and all the
> configuration file!
>
> Thanks
>
> Sandrine
>