File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes can we call destroy() method inside service() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "can we call destroy() method inside service()" Watch "can we call destroy() method inside service()" New topic
Author

can we call destroy() method inside service()

Mohan Karthick
Ranch Hand

Joined: Apr 11, 2005
Posts: 199
hi,

What happend if we all destroy() method?


rgds
'
Mohan
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You don't call destroy.
The servlet container does.

The destroy method is a place for you to put your clean-up code.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we call destroy() method inside service()