Can I override destroy() method of Servlets?
Answers were Sorted based on User's Feedback
Answer / kalyan
yes we can override destroy() method according application
requirement....
| 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
YES,
we can call and override destroy().
| Is This Answer Correct ? | 4 Yes | 1 No |
Why do we have servlet listeners?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
program for RequestDispatcher in servlets?
What is difference between GenericServlet and HttpServlet?
What are the security issues in Servlets?
Explain servlet events?
What compiler do not do if we create our own constructor?
What are session variable in servlets?
What is servlet invoker?
What are the different types of servlets?
What are the different methods involved in generic servlet?
What is servletconfig?