aspose file tools*
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlet start up on server initialization