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 |
Who is responsible to create the object of servlet?
What are all the advantages of servlet over cgi?
How can I send user authentication information while making URL Connection?
Can we override servlet service method?
What is the difference between an applet and a servlet?
15 Answers GCEW, Miracle Solutions,
Explain how does JSP handle run-time exceptions?
How will two or three servlets interact or communicate with each other?
Explain in brief the directory structure of a web application?
What are different methods of session management in servlets?
Whats the advantages using servlets over using CGI?
Difference between GET and POST?
Write a hello world program using servlets.