In which cases Destroy() is invoked?

Answer Posted / n.l.narayana

destroy() method is invoked automatically when ever the
servlet object is removed from the webcontainer
(Tomcat,weblogic,....)

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define context initialization parameters.

564


How do servlets work?

528


Can we get PrintWriter and ServletOutputStream both in a servlet?

646


How do you get the ip address of the client in servlet?

545


What is session tracking?

693






How to get the IP address of client in servlet?

618


What are different Authentication options available in Servlets.

561


What are the functions of Servlet container?

605


What is called Session Tracking?

593


Why do we have servlet filters?

593


What do you mean by session tracking and also explain its techniques?

490


Explain the difference between servletconfig and servletcontext in servlet?

561


How servlet is created?

534


Is tomcat a servlet container?

564


Which httpsession object is used to view and manipulate information about a session?

723