Can I override destroy() method of Servlets?




Answers were Sorted based on User's Feedback



Can I override destroy() method of Servlets?..

Answer / vinod

yes we can do it

Is This Answer Correct ?    13 Yes 1 No

Can I override destroy() method of Servlets?..

Answer / kalyan

yes we can override destroy() method according application
requirement....

Is This Answer Correct ?    7 Yes 0 No

Can I override destroy() method of Servlets?..

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




Can I override destroy() method of Servlets?..

Answer / komal singh adhikari

YES,
we can call and override destroy().

Is This Answer Correct ?    4 Yes 1 No

Post New Answer



More Servlets Interview Questions

What is the difference between 2 types of servlets?

0 Answers  


What is a servlet?

0 Answers  


How can we include static files in the jsp page?

0 Answers  


what is meant by Transaction Isolation Levels?

2 Answers   IBM,


What is the major difference between context parameter and context attribute?

0 Answers  






Define servlet mapping?

0 Answers  


How can you maintain servlet chaining?

1 Answers  


Is JSP Thread Safe ???? How To make JSP thrad safe ?????

6 Answers   Cognizant,


How many ways are available to ger RequestDispatcher object?

4 Answers   Polaris,


can i override service method

3 Answers   Intelligroup,


Difference between java beans & servlets?

0 Answers  


What are all the advantages of servlet over cgi?

0 Answers  






Categories