Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes xml tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "xml tag " Watch "xml tag " New topic
Author

xml tag

suresh pulapally
Ranch Hand

Joined: Mar 15, 2005
Posts: 47
hi all,
iam new to xml,i want to know what is the meaning of this tag in web.xml.what it do if i write in serlvet details in web.xml file <load-on-startup></load-on-startup>

thanks,
suresh
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by suresh pulapally:
iam new to xml

http://www-106.ibm.com/developerworks/edu/x-dw-xml-i.html?S_TACT=105AGX02&S_CMP=EDU

Originally posted by suresh pulapally:
i want to know what is the meaning of this tag in web.xml.what it do if i write in serlvet details in web.xml file <load-on-startup></load-on-startup>


Specification says:
<load-on-startup> instantiate an instance of each servlet identified by a <servlet> element that includes a <load-on-startup> element in the order defined by the load-onstartup element values, and call each servlet instance�s init() method.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: xml tag
 
Similar Threads
How to create servlet object immediately when we start server
Struts
load-on-startup of servlet tag in DD
Diiference between <welcome-file-list> tag and <load-on-startup> tag in web.xml file of servlet
<load-on-startup> doubt