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 init() method in destroy() method of servlset. ?

Answer Posted / arulmani

init()method will be called by the webcontainer with the
servlet object by passig the ServletConfig object,when the
servlet object will be created.

destroy()method will be called by the webcontainer when
servlet object will be destroyed

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is generic servlet class?

1120


What are session variable in servlets?

1066


What is cookie in servlet?

1117


Explain the role of dispatcherservlet and contextloaderlistener.

1258


When servlet is loaded?

1122


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

1097


how many jsp scripting elements are there and what are those?

1061


What do you mean by request dispatcher in servlet?

1153


What is servlet and its types?

1099


What are important features of Servlet 3?

1148


What are the disadvantages of storing session state in cookies?

1191


Explain jsessionid and when is it created?

1185


How can we achieve transport layer security for our web application?

1098


Why are servlets used?

1086


How servlet is created?

1312