How to use load-on-startup servlet web.xml Example
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 usinghttp://javarevisited.blogspot.com/2011/12/load-on-startup-servlet-webxml-example.html
Total Hits: 7543
Total Votes: 11 votes
Category: JAVA/J2EE
Submitted on: 2011-12-18 13:52:46
Submitted By: Javin Paul
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 |
|---|---|---|
![]() |
![]() ![]() 9.09% |
1 |
![]() ![]() |
![]() ![]() 18.18% |
2 |
![]() ![]() ![]() |
![]() ![]() 18.18% |
2 |
![]() ![]() ![]() ![]() |
![]() ![]() 36.36% |
4 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 18.18% |
2 |





9.09%

18.18%

18.18%

36.36%

18.18%