File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet start up on server initialization