tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject Re: preloaded feture
Date Fri, 08 Dec 2000 09:08:02 GMT
> May I know that is't tomcat have the feture that preload a servlet each
> time I start the tomcat? For example, every time I start the tomcat, it
> will automatically load a servlet (this servlet will read a properties
> file, and set these properties to to ServletContext). If so, how to
> configure? Below is the sample servlet. Many thanks!!

Set the <load-on-startup> parameter in web.xml for that particular servlet to
be a positive integer.

Jon

Mime
View raw message