How to use load-on-startup servlet web.xml Example

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

How to use load-on-startup servlet web.xml Example

load-on-startup is the rare tag on web.xml which is available inside servlet and can be used to control loading of servlet in web container. by using
http://javarevisited.blogspot.com/2011/12/load-on-startup-servlet-webxml-example.html
  • Total Hits: 23257

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 198 votes

  • Category: JAVA/J2EE

  • Submitted on: 2011-12-18 13:52:46

  • Submitted By: Javin Paul

  • Set as Favorite

Description:

load-on-startup is the rare tag on web.xml which is available inside servlet and can be used to control loading of servlet in web container. by using load-on-startup you can simply tell J2EE container that load this servlet first and that one later you can also say that load this on deploy time loading means loaded in memory and instantiate and init() method called for a particular servlet by web container. lower the numeric value of load-on-startup , servlet will be loaded first.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 33.33%  66
 Two starsTwo star  Vote LeftVote MiddleVote Right 8.59%  17
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 9.09%  18
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 13.13%  26
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 35.86%  71

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements