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 |
How can we achieve transport layer security for our web application?
can we create more than ServletContext and ServletConfig in your application
What is the GenericServlet class?
What is cookie? Why is cookie used?
Why is init() method is used in servlets?
How we can call a jsp from the servlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
How do we call one servlet from another servlet?
How do cookies work in servlets?
which method in doGet or doPost is use to send binary date to server
What are all the protocols supported by httpservlet?
What is the difference between get and post methods?