Can I override destroy() method of Servlets?
Answer Posted / 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 |
Post New Answer View All Answers
How to get the current httpsession object?
What is the difference between servlet and jsp?
What do you mean by httpservlet?
What is the life cycle of a servlet?
How do you run a servlet?
When servlet object is created?
What are the objects involved when a servlet receives a call from client?
What is Client-Server Computing?
What is called Session Tracking?
What is session tracking?
How do you find out what client machine is making a request to your servlet
What are session variable in servlets?
What is http servlet? Explain with the help of an example.
What is difference between GenericServlet and HttpServlet?
What are common tasks performed by Servlet Container?