> 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

Reply via email to