wood burning stoves 2.0*
The moose likes Servlets and the fly likes What does load-on-startup? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "What does load-on-startup?" Watch "What does load-on-startup?" New topic
Author

What does load-on-startup?

rex tony
Ranch Hand

Joined: Aug 29, 2007
Posts: 159
What does load-on-startup?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9351
    
    2

Your question rather should be What load-on-startup does?

As it implies, it loads the servlet files as your web container starts up.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

You could also try to look into the Servlets Specification where such questions are best answered.


[My Blog]
All roads lead to JavaRanch
Radhakrishna Bhat
Greenhorn

Joined: Dec 26, 2007
Posts: 10
loads servlet before first request.

Also decides the order of servlets loading declared in web.xml.
 
wood burning stoves
 
subject: What does load-on-startup?