init() is called when servlet is initialized. The servlet is, by default
(see j2EE specs) initialized when it is first accessed. The
'load-on-startup' element of web.xml can be used to force servlet to be
initialized upon webapp startup. The value of this element is a number
that specify order, compared to other servlet, in which it is initialized.

En l'instant précis du 11/04/07 12:47, Nencho Lupanov s'exprimait en ces
termes:
> Hi All,
>
> I am trying to understand, when is the Servlet init() method invoked in
> tomcat.
> I expected it to be executed after succesfull deployment but it seems
> that
> it is
> executed the first time(only)  when request arives.
> So, i need to receive a request in order this method to be executed?
> Is that configurable?Thanks.
>
> Nencho
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to