can i call destroy() method in init() method of servlet
Answer Posted / archana
yes, u can call destroy() method in init() of Servlet.
but calling destroy() in this way doesnt unload servlet
from servlet container.
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is servlet in simple terms?
Explain url encoding?
How do we go with database connection and log4j integration in servlet?
how the HTML data stored in web server?
How is a servlet implemented in code?
What is the need of session tracking in web application?
What is the life cycle of a servlet?
What are the important functions of filters?
What is the procedure for initializing a servlet?
What is the difference between 2 types of servlets?
What are the types of servlets? Explain
What is lazy loading and what is Generic Servlet Class?
How can the session in servlet be destroyed?
How to create war file?
What do you mean by httpservlet?