• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding Servlet ' Life  RSS feed

 
Maan Suraj
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had few doubts...

1)When does the web container loades the servlet?I mean does it load when the web container is started or when the request comes for that particular servlet?



2)In which m/y is servlet loaded?I mean primary m/y or secondary one
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
#1 - Generally when the servlet is first accessed, but this can be influenced with the <load-on-startup> tag in the web.xml file. The servlet specification says more about this.

#2 - What does "m/y" mean?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!