aspose file tools*
The moose likes Servlets and the fly likes destroy() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "destroy() method" Watch "destroy() method" New topic
Author

destroy() method

Nitin Kharbade
Greenhorn

Joined: Oct 09, 2010
Posts: 25
For multiple requests for the same servlet, how the destroy() method is used?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

It isn't. The destroy() method is called by the container when the servlet is being taken out of service. It plays no part in the servicing of requests.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: destroy() method