GeeCON Prague 2014*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes load-on-startup of servlet tag in DD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "load-on-startup of servlet tag in DD" Watch "load-on-startup of servlet tag in DD" New topic
Author

load-on-startup of servlet tag in DD

yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
<servlet>
...
<load-on-startup>3</load-on-startup>
....
</servlet>

what is this number indicates in load on startup tag
Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
Hi Yamini,

This is what I found in the Servlet 2.3 Specification document.


The load-on-startup element indicates that this servlet should be
loaded on the startup of the web application.
The optional contents of these element must be a positive integer
indicating the order in which the servlet should be loaded.
Lower integers are loaded before higher integers.
If no value is specified, or if the value specified is not a positive
integer, the container is free to load it at any time in the startup
sequence.



Cheers!!


Ritesh<br /> <br />SCJP 1.4<br />IBM Test 340<br />IBM AIX V4.0 Certified Professional<br /> <br />Right actions for the future are the best apologies for wrong ones in the past.<br />- Tyron Edwards
 
GeeCON Prague 2014
 
subject: load-on-startup of servlet tag in DD