Can I override destroy() method of Servlets?
Answers were Sorted based on User's Feedback
Answer / vinod
yes we can do it
|Is This Answer Correct ?||13 Yes||1 No|
Answer / kalyan
yes we can override destroy() method according application
|Is This Answer Correct ?||7 Yes||0 No|
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|
Answer / komal singh adhikari
we can call and override destroy().
|Is This Answer Correct ?||4 Yes||1 No|
What is the difference between 2 types of servlets?
What is a servlet?
How can we include static files in the jsp page?
what is meant by Transaction Isolation Levels?
What is the major difference between context parameter and context attribute?
Define servlet mapping?
How can you maintain servlet chaining?
Is JSP Thread Safe ???? How To make JSP thrad safe ?????
How many ways are available to ger RequestDispatcher object?
can i override service method
Difference between java beans & servlets?
What are all the advantages of servlet over cgi?