You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Meryl Silverburgh <si...@gmail.com> on 2006/04/01 23:55:23 UTC
How can I configure Tomcat to call init() of Servlet?
Hi,
How can I configure Tomcat to call init() of Servlet as part of
Tomcat's initialization?
right now, the init() of a Servlet is called when the servlet is
called the first time (e.g. thru a HTTP request from a browser)?
How can I config tomcat to call the init() of a servlet as part of
Tomcat's initialization?
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How can I configure Tomcat to call init() of Servlet?
Posted by Konrad Billewicz <kb...@infovide.pl>.
> 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