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 difference between jsp and servlet life cycle?
What are some disadvantages of storing session state in cookies?
What are the types of an http request?
What is preinitialization of a servlet?
What are the phases of a servlet life cycle?
What’s the use of the servlet wrapper classes??
What do you mean by scope object and what are its types?
How httpservlet is different from the genericservlet?
What is called a session?
Is dispatcher servlet a singleton?
What is servlet invoker?
What do you mean by servlet context?
Difference between doget and dopost?
What are the supporting protocol by HttpServlet ?
What is difference between PrintWriter and ServletOutputStream?