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 |
What is http servlet? Explain with the help of an example.
List out the difference between ServletConfig and ServletContext?
What is filter? Can filter be used as request or response?
What is the procedure of invoking different servlet in a different application?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
Differentiate between the get and post method
How does Cookies work in Servlets?
Is tomcat a servlet container?
What is cookies in servlet with example?
What do you mean by deployment descriptor?
Which httpsession object is used to view and manipulate information about a session?
What is ServletConfig object?