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

Explain jsessionid?

985


Explain the difference between jsp and servlet?

1010


What is the need of session tracking in web application?

982


Difference between GET and POST?

1096


How the servlet is loaded?

1023


How do we call one servlet from another servlet?

991


When should you prefer to use doget() over dopost()?

1096


What are the life cycle methods of the servlet?

1043


What is cookie in servlet?

1021


What is servlet initializer?

919


Which java application server is the best?

984


what do you understand by url rewriting?

908


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

970


What do you mean by filter in servlet?

957


What are important features of Servlet 3?

1061