wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Load on Startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Load on Startup" Watch "Load on Startup" New topic
Author

Load on Startup

Aleks Pascoal
Greenhorn

Joined: Jul 16, 2002
Posts: 12
Hi EveryBody,
the element <load-on-startup> does what? It tells the container to load the class and to instantiate it?
Thanks,
Aleks
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Aleks
From Sun's web.xml DTD:

The load-on-startup element indicates that this servlet should be loaded (instantiated and have its init() called) on the startup of the web application.

It can also take an optional integer indicating the order in which to start it.


Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Load on Startup
 
Similar Threads
What does load-on-startup?
<load-on-startup> Confusion?
order of loading in web.xml
object caching
Execute jsp code automatically at startup of server