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

Why servlet is faster than jsp?

1082


How can we invoke another servlet in a different application?

1224


What is the use of servlet context?

1051


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

1054


What is servlet invoker?

1050


How to read request headers from servlets?

1057


What’s the difference between forward() and sendredirect() methods?

1028


If my browser does not support cookie, and my server sends a cookie instance what will happen?

1109


What are the various ways of session supervision in servlets?

1018


What is difference between jsp and servlet?

1181


How are filters?

1050


Why is httpservlet declared abstract?

1134


Difference between doget and dopost?

1179


How do you communicate in between Applets and Servlets?

1076


What is the difference between sendredirect() and forward() in a servlet?

1022