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 / yathirajulu

yes, we call destroy() in init(),because both are called once.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the different ways for servlet authentication?

1030


What are the types of servlets? Explain

1196


What are the steps that are required to handle the multi-threading?

1044


What is the use of httpservletresponsewrapper?

911


Why filter is used in servlet?

936


Which are the different ways you can communicate between servlets?

941


Explain in brief the directory structure of a web application?

1053


What is dispatcher servlet?

1008


What is the major difference between servlet and applet?

943


Explain the difference between jsp and servlet?

1005


What is a web application and what is it’s directory structure?

1027


List out difference between a JavaBean from a Servlet?

967


What exception should be thrown when servlet is not properly initialized?

962


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

956


Explain the lifecycle of a servlet?

909