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 multiple simultaneous requests can be handled by servlets?
How will you pass values from HTML page to the servlet?
What is the difference between portlet and servlet?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What is the workflow of a servlet?
What are common tasks performed by Servlet Container?
Explain the differences between jsp and servlet.
How do cookies work in servlets?
why are using HttpServlet in realtime projects and why are not using Genericservlet
What is the structure of the http response
What is the web server used for running the Servlets?
Explain request dispatcher and its methods.