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

On what Scenarios the Container will call the destroy method of servlet

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Could anybody please let me know as when does a Container decides that its the appropiate time to call destroy method on Servlet .
Diffferent servers may have their own style , but what sceanrio it is that makes them call destroy method ??

Waiting for your replies .

Thanks .
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the Servlet lifecycle
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic