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
What are the different methods involved in the process of session management in servlets?
What's the difference between authentication and authorization?
What do you mean by interservlet communication?
What's the advantages using servlets than using cgi?
What is ServletContext object?
Why servlet is used as controller ? Not JSP? I want complete explation?
How to find whether a parameter exists in the request object?
Why is httpservlet declared abstract?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What is the functionality of actionservlet and requestprocessor?
What are the life cycle methods of the servlet?
What do you mean by cgi in servlet?
What is the use of httpservletresponsewrapper?
What are some disadvantages of storing session state in cookies?
What is string tokenizer?