can i call destroy() method in init() method of servlet
Answer Posted / tanuj
Shekar babu is an disgrace to java community should never
blog answers,destroy() is just to inform what is to be done
when the service call is terminated it is like
on_service_destroy() what is to be done.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is servletconfig?
How can you create a session in servlet?
How can I send user authentication information while making URL Connection?
Why do we have servlet listeners?
What is servlet invoker?
How to read request headers from servlets?
What is the purpose of requestdispatcher interface?
How many objects of a servlet is created?
What are the steps involved in placing a servlet within a package?
What is servlet in web technology?
What is the purpose of inter-servlet communication?
Which event is fired at the time of session creation and destroy?
why we should override only no-agrs init() method.
What is life cycle of Servlet?
What are the phases of servlet life cycle?