Can I override destroy() method of Servlets?
Answers were Sorted based on User's Feedback
Answer / vinod
yes we can do it
|Is This Answer Correct ?||13 Yes||1 No|
Answer / kalyan
yes we can override destroy() method according application
|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
we can call and override destroy().
|Is This Answer Correct ?||4 Yes||1 No|
What is called Scriptlet?
How many ways to remove the session object in the container
What is http servlet?
Why do we have servlet listeners?
What is the difference between Server and Container?
Who is responsible for writing a constructor?
How to work with Chinese login page (internationalization).if he enters user name and password in chinese, how is it converted to English and validate in db? And in reverse it should display welcome message in Chinese,if user is valid
Can filter be used as request or response?
when will cookie information destroy?
explain filters in java?
How will you open a new page after certain interval of time (5 sec), on clicking of a button in an html page?
What is the purpose of inter-servlet communication?