wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: destroy() method
 
Similar Threads
query on destroy method
servlet trivia
calling destroy in init method
destroy() method
destroy() method of servlets