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...

what happens if we wont use destroy()?

Answer Posted / venkatesh k

destroy() is not realted to garbage collection. As per
servlet life cycle destroy method is one of compulsary
method.it is automatically invoked by Container.Internallly
we may use garbage collection means reclaim the memory.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between portlet and servlet?

935


Is it good idea to create servlet constructor?

1205


What is the life cycle of a servlet?

1423


What do you mean by the servlet chaining?

1004


Describe the phases of servlet lifecycle?

1027


Why servlet is mostly used?

1184


Can we use the constructor, instead of init(), to initialize servlet?

1044


Explain url encoding in servlet?

993


What’s the use of the servlet wrapper classes??

1062


Explain the difference between generic servlet and http servlet?

938


What are the life-cycle methods for a servlet?

939


Is dispatcher servlet a singleton?

963


How do you run a servlet?

1010


What are the disadvantages of storing session state in cookies?

1088


How can you create a session in servlet?

1084