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 |
If my browser does not support cookie, and my server sends a cookie instance what will happen?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
How can a servlet be used to generate plain text instead of html?
Write all the phases defined in servlet life cycle?
Why session tracking is needed?
Is servlet a server side scripting language?
What do you mean by chaining in servlet?
What is difference between server and servlet?
What are the objects involved when a servlet receives a call from client?
Does servlet have main method?
What is the GenericServlet class?
How to pass JavaBeans data to JSP using Servlets?