Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In which cases Destroy() is invoked?

Answers were Sorted based on User's Feedback



In which cases Destroy() is invoked?..

Answer / n.l.narayana

destroy() method is invoked automatically when ever the
servlet object is removed from the webcontainer
(Tomcat,weblogic,....)

Is This Answer Correct ?    4 Yes 0 No

In which cases Destroy() is invoked?..

Answer / shakir khan

When server wants to remove the servlet from pool,it will
execute the destroy().

destroy() is invoked,when servlet is unloaded from
memory.This is a good place to clean up any resources(Such
as open files or database connections).

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Servlets Interview Questions

What is webservlet?

0 Answers  


What do you mean by deployment descriptor?

0 Answers  


What is a server side include (ssi)

0 Answers  


Differentiate between the web server and application server?

0 Answers  


What compiler do not do if we create our own constructor?

5 Answers   HCL,


What are the servlet events?

0 Answers  


when you comppile the servlet is it neccesary to restaet the tomcat server?

6 Answers   HCL,


describe all about advanced java with presentation

4 Answers   Sun Microsystems,


What is difference between cookies and httpsession?

0 Answers  


Which event is fired at the time of setting, getting or removing attribute from application scope?

0 Answers  


What are some disadvantages of storing session state in cookies?

0 Answers  


What do you mean by the servlet chaining?

0 Answers  


Categories