File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

destroy() method

Shiva Shankar
Ranch Hand

Joined: Dec 07, 2006
Posts: 31
Friends please post the answer for the below two Questions:

Q.1)Can we call "destroy()" method from "init()" method? if so what will happen?

Q.2)Can we call destroy() method on servlets from service( ) method?
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

THIS will answer your question.

Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />
I agree. Here's the link:
subject: destroy() method
It's not a secret anymore!