Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes On what Scenarios the Container will call the destroy method of servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "On what Scenarios the Container will call the destroy method of servlet" Watch "On what Scenarios the Container will call the destroy method of servlet" New topic
Author

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

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

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 .


Save India From Corruption - Anna Hazare.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9340
    
110

Check the Servlet lifecycle

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: On what Scenarios the Container will call the destroy method of servlet
 
Similar Threads
can we call destroy() method inside service()
destroy() method of servlet.
When a Servlet destroy method is called.
how to call destroy() method ?
when is the destroy method called?