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

no,we can't call destroy() in init() method.because of
init() and dstroy() methods are take care by web container

Is This Answer Correct ?    7 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I support both get and post from the same servlet?

1256


Why do we have servlet filters?

1080


What's the architecture of a servlet package?

1101


What is java servlet?

1111


How to get the server information in a servlet?

1218


What is difference between cookies and httpsession?

1158


What are different ways for authentication of servlet?

1168


What are the disadvantages of storing session state in cookies?

1195


What is life cycle of Servlet?

1129


How to upload a file to the server using servlet?

1060


Describe some assignments that are executed by servlet container?

1131


Can you refresh servlet in client and server-side automatically?

1136


What is cookie? Why is cookie used?

1106


What is servlet attributes and their scope?

1106


What is the need of session tracking in web application?

1093