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 we call destroy() method inside the init() method? What
happens when we do so?

Answer Posted / srilatha

In the servlet life cycle First our request calls to the
init()method,Inside it will doing some operations related
to the objects after that it will cal the destory() method
The destory()removes the servlet object,before calling to
service() method.

Is This Answer Correct ?    2 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the functions of an intercepting filter?

951


What do you mean by default initialization in java servlet?

1103


What are the different session tracking techniques?

1198


List the Different types of servlet?

1045


Explain web container.

1032


When a servlet accepts a call from a client, it receives two objects. What are they?

1247


What are the exceptions thrown by servlets? Why?

1174


Which is the methods of generated servlet?

1225


What are Servlets?

1130


What is getservletcontext?

1079


What is servlet configuration?

1072


What is java servlet?

1057


What are the uses of servlet and what is servlet chaining?

1096


What are all the advantages of servlet over cgi?

1092


Define servlet mapping?

1173