Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 6444
Total Votes: 11 votes
Average Rating: 4.36 out of 5
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.