tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Kaufman <WKauf...@viquity.com>
Subject RE: instanciate a servlet when tomcat starts
Date Wed, 09 May 2001 17:55:20 GMT
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: SAMEUNIE@bouyguestelecom.fr [mailto:SAMEUNIE@bouyguestelecom.fr]
> Sent: Wednesday, May 09, 2001 8:15 AM
> To: tomcat-user@jakarta.apache.org
> 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
> 

Mime
View raw message