This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlet start up on server initialization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet start up on server initialization" Watch "servlet start up on server initialization" New topic
Author

servlet start up on server initialization

Arun Prasath
Ranch Hand

Joined: Jul 18, 2006
Posts: 60
what will happen if
<load-on-startup>0</load-on-startup> or
<load-on-startup>-1</load-on-startup> is given in the servlet element of the DD?
Ravinder Rana
Greenhorn

Joined: Dec 07, 2006
Posts: 19
If the value is a negative integer, or the element is not present, the container is free to load the servlet whenever it chooses. If the value is a positive integer or 0, the container must load and initialize the servlet as the application is deployed.
 
GeeCON Prague 2014
 
subject: servlet start up on server initialization