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 different mode that servlets can be used?

984


Explain the lifecycle of a servlet?

929


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

1050


What do you mean by cgi and what are its drawbacks?

945


What is a servlet context object?

1107


why we should override only no-agrs init() method.

1099


What is the servlet?

1051


Which event is fired at the time of project deployment and undeployment?

1285


How the typical servlet code look like ?

1166


What is the servletconfig object?

997


What is servlet and its life cycle?

1090


What are the two important api's in for servlets?

1032


When jsessionid is created?

1010


What is the GenericServlet class?

1181


What is meant by servlet? What are the parameters of the service method?

987