Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlets life cycle

 
Ravi kapa
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi this is ravi,i read the head first servlets and jsp book.It says that container calls are invoke init,service,destroy methods on servlets so i have a doubt that thease are container methods or servlets methods.Can any one suggest me please
 
Paul Clapham
Sheriff
Posts: 21120
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They are methods of the servlet. The container creates instances of the servlets and calls those methods on the instances.
 
Ravi kapa
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanq for the immediate reply paul..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic