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

Is it good idea to create servlet constructor?

1300


What are the life-cycle methods for a servlet?

1050


What are the key methods that are involved in processing of http servlets?

1162


Difference between java beans & servlets?

1109


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

1059


How to get the IP address of client in servlet?

1134


Which java framework is most popular?

1218


Why do we need servlet filter?

1109


How the JSP file will be executed on the Server side?

1199


Explain url encoding?

1037


What is servlet used for?

1195


request parameter how to find whether a parameter exists in the request object?

1063


What is the inter-servlet communication?

1222


What is the difference between Difference between doGet() and doPost()?

1365


How can the session in servlet can be destroyed?

1225