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

can i call destroy() method in init() method of servlet

Answer Posted / archana

yes, u can call destroy() method in init() of Servlet.

but calling destroy() in this way doesnt unload servlet
from servlet container.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What mechanisms are used by a Servlet Container to maintain session information?

1111


How can an existing session be invalidated?

1099


What are the benefits of using servlet over cgi?

980


What do you mean by interservlet communication?

1013


What is cgi and what are its drawbacks?

980


How do you get the ip address of the client in servlet?

948


Tell us something about servletconfig interface.

948


Define the lifecycle for executing a jsp page.

1035


Explain url encoding in servlet?

996


What are the life-cycle methods for a servlet?

942


What do you mean by chaining in servlet?

985


Explain the difference between servletconfig and servletcontext in servlet?

988


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

968


Why doesn’t a servlet include main()? How does it work?

1101


What is the difference in between the httpservlet and generic servlet?

1065