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 |
Servlet Chaining? How do you do the Filtering in Servlets?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What are the life-cycle methods for a servlet?
What is the difference in between the httpservlet and generic servlet?
What are the difference between RMI and Servlets?
program for RequestDispatcher in servlets?
What is meant by a web application
When we don't write any constructor for the servlet, how does container create an instance of servlet?
What is java servlet?
What is difference between get and post method?
How is an application exception handling is done using a servlet?
What are the functions of the servlet container?