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
Which application server is best for java?
What are common tasks performed by Servlet Container?
Explain servlet life cycle?
What is life cycle of Servlet?
What are the uses of servlets?
What is servlet invoker?
Why are http servlets used in programming?
What if you need to span your transaction across multiple servlet invocations?
Is servlet synchronized?
Explain jsessionid?
What's the architecture of a servlet package?
What is Request Dispatcher?
What is http servlet? Explain with the help of an example.
What is the type of method for sending request from http server?
If some new data has entered the database, explain how can a servlet refresh automatically?