tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Bolding" <...@platon.net>
Subject RE: Re: How can I configure Tomcat to call init() of Servlet?
Date Sun, 02 Apr 2006 11:30:46 GMT
True, but if you need a general initialization mechanism look into
servlet context listeners

Regards Thomas

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Konrad Billewicz
Sent: 2. april 2006 01:07
To: users@tomcat.apache.org
Subject: Re: How can I configure Tomcat to call init() of Servlet?

> How can I config tomcat to call the init() of a servlet as part of 
> Tomcat's initialization?

I think <load-on-startup> nested inside <servlet> in web.xml is what you
need.

Best regards,
Konrad Billewicz 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message