This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Load on Startup" Watch "Load on Startup" New topic

Load on Startup

Aleks Pascoal

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?
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
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.

Have you checked out Aspose?
subject: Load on Startup
It's not a secret anymore!