Answer Posted / qim2010
The destroy() method and other servlet lifecycle methods are called by the servlet container, so it would be a serious error if the servlet container did not call the destroy() method as it takes a servlet out of service. Normally your application code should not call servlet lifecycle methods. It is not advisable for your application code to call the destroy() method directly, it would be confusing and potentially destructive, so it is not a problem if your application does not call the method at all.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is servlet mapping?
What is difference between cookies and httpsession?
What is meant by cookies?
What mechanisms are used by a Servlet Container to maintain session information?
What is called Session Tracking?
Why do we have servlet filters?
What is the process for chaining servlet?
How can the session in servlet can be destroyed?
How many servlet objects are created?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
How many objects of a servlet is created?
What is the difference between Server and Container?
Describe the phases of servlet lifecycle?
What is called servlet mapping?
What is servlet api used for conneting database?