can i call init() method in destroy() method of servlset. ?
Answer Posted / arulmani
init()method will be called by the webcontainer with the
servlet object by passig the ServletConfig object,when the
servlet object will be created.
destroy()method will be called by the webcontainer when
servlet object will be destroyed
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the differences between the servletconfig interface and the servletcontext interface?
what is multiple server?
Explain the custom jsp tags and the beans.
How do servlets work?
What is servlet attributes and their scope?
What is the dispatcher servlet?
What are the difference between RMI and Servlets?
How we can create war file in servlet?
What is servlet in tomcat?
How to make sure a servlet is loaded at the application startup?
What is the difference between 2 types of servlets?
What is the functionality of actionservlet and requestprocessor?
How do you create a cookie using servlet?
How can we refresh automatically when new data is entered into the database?
What is the difference between CGI and Servlet?