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 is the need of session tracking in web application?
Why is servlet used?
Explain the concept of ssi ?
How to notify an object in session when session is invalidated or timed-out?
What is the difference between the include() and forward() methods?
The code in a finally clause will never fail to execute, right?
What is httpservlet and how it is different from genericservlet?
What is the major difference between context parameter and context attribute?
When jsessionid is created?
What is servlet container. how it works?
Write a program to show the functionality of servlets.
How to create war file?
What is a servlet?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
How can the referrer and the target urls be used in servlet?