This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

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 />prabhu.venkatachalam@gmail.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: destroy() method
 
Similar Threads
destroy() method
query on destroy method
servlet trivia
calling destroy in init method
destroy() method of servlets