• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

loading of servlet?

 
Ankur Jain Kothari
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when is the servlet loaded first? is it when the first client sends its first request? is this always the case?
 
Srinath Gamage
Ranch Hand
Posts: 40
Google App Engine Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It can be either at first client request or on Container start up.
 
Ankit Garg
Sheriff
Posts: 9577
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we set the load-on-startup value for a servlet, it will be loaded when the container starts or the application is deployed. If we don't provide the load-on-startup value, the servlet is usually loaded when a request is received for the servlet...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic