can i call init() method in destroy() method of servlset. ?
Answer Posted / suresh
when the sevlet is load the class files,in this time to call
init() method is called
destroy method used to the servlet remove from the memory
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What do you mean by request dispatcher in servlet? Also explain its methods.
What is cgi?
What is the servlet?
How servlets are deployed in java?
Why servlet is mostly used?
How do you configure a centralized error handler in servlets?
Name the packages that work with servlet?
What are its drawbacks of cgi?
What is servlet and list its types?
What are the functions of an intercepting filter?
What do you mean by singlethreadmodel interface?
Differentiate between the print writer and servlet output stream?
What is the servletconfig object?
How can the session in servlet be destroyed?
What is the requirement of servlet config and servlet context implemented and how are they implemented?