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 servlet interface?
How do we go with database connection and log4j integration in servlet?
How do cookies work in servlets?
What is the use of Servlets?
How ThreadSafe page attribute will be working in Servlet as well as in JSP?Automatically ThresdSafe is true in JSP so service method will be destroy in each and every request or not?so how thresd will handle srevice method?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What are the different types of servlets?
What are the life cycle methods of the servlet?
What is the capacity the doget can send to the server?
why are using HttpServlet in realtime projects and why are not using Genericservlet
How to generate the server side programming and the advantages of it over the other languages?
Why doesn’t a servlet include main()? How does it work?