Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<load-on-startup> doubt

 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In web.xml under <servlet> tag we are having <load-on-startup> tag.
what is exact meaning of count given in this tag.
 
pallavi kamathe
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shailesh Narkhede wrote:In web.xml under <servlet> tag we are having <load-on-startup> tag.
what is exact meaning of count given in this tag.


Servlet get loaded on container when the first request is coming from client. So it takes some delay for sending response to it on first request. By using <load-on-startup> tag we make loading of servlet when server get started.So it avoid delay time on first request.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The exact explanation is in the JSP Specification (SCWCD Links)
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Christophe Pallavi & Sagar.
I got exact meaning of value inside <load-on-startup> tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic