can i call destroy() method in init() method of servlet
Answer Posted / archana
yes, u can call destroy() method in init() of Servlet.
but calling destroy() in this way doesnt unload servlet
from servlet container.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is api in servlet?
What is the use of request dispatcher interface?
What is cookie? Why is cookie used?
What is a generic servlet?
Explain web application directory arrangement?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What are the differences between servlet context vs servlet config?
Is dispatcher servlet a singleton?
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
explain the advantages of servlet life cycle?
Why are servlets used?
Does servlet have main method?
Write a program to show the functionality of servlets.
Given the request path below, which are context path, servlet path and path info?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?