Nencho Lupanov wrote:

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

By default, probably. There is also a <load-on-startup> element in web.xml defined on a per servlet basis to force load the servlet when tomcat starts.

--David

---------------------------------------------------------------------
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