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 override destroy() method of Servlets?

Answer Posted / mohd adnan

yes off course we can override the destroy(), method. There is confusion between us, as many of us thinks destroy method call destroy the servlet, however this interpretation is wrong. calling destroy method is only call to the last method before servlet dies. it never destroy servlet.


--------- By Mohd Adnan MCA IMS Ghaziabad

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the mechanisms used by a servlet container for maintaining session information?

1023


What are the annotations used in servlet 3?

1033


What is the need of servlet filters?

1007


What is servlet and its life cycle?

1118


What is session tracking?

1203


Explain the concept of ssi ?

1069


What is the use of welcome-file-list?

1035


Why is a constructor needed in a servlet even if we use the init method?

1133


What is a servlet engine?

1034


Difference between get and post in java servlets?

1037


What is a cookie What is the difference between session and cookie

1077


Can you create a deadlock condition on a servlet?

1081


What are common tasks performed by Servlet Container?

1258


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

1100


What are the different methods involved in the process of session management in servlets?

1268