September 30, 2008 at 6:26 PM
Is it indicate order of servlet to be loaded or number of instances
Tha't the order in which the Servlet will be loaded by the container.
1 will be the first
2 will be the second
The <load-on-startup> element of a deployment descriptor is used to load a servlet file
when the server starts instead of waiting for the first request.
It is also used to specify the order in which the files are to be loaded.
The <load-on-startup> element is written in the deployment descriptor as follows: