Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 27135
Total Votes: 206 votes
Average Rating: 4.11 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.