aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: load-on-startup of servlet tag in DD
 
Similar Threads
How to configure Tomcat to load a servlet
How to create servlet object immediately when we start server
Diiference between <welcome-file-list> tag and <load-on-startup> tag in web.xml file of servlet
Preloaded servlet
<load-on-startup> doubt