can i call destroy() method in init() method of servlet
Answer Posted / shekhar
no,we can't call destroy() in init() method.because of
init() and dstroy() methods are take care by web container
| Is This Answer Correct ? | 7 Yes | 15 No |
Post New Answer View All Answers
Explain the methods of request dispatcher in servlet?
Which is better jsp or servlet?
When jsessionid is created?
Which method is called when reference variable is passed in system.net?
What is the type of method for sending request from http server?
What do you mean by cgi and what are its drawbacks?
What is servlet? Explain
What is the directory structure of web application?
What is pure servlet?
How can the session in servlet can be destroyed?
What is Servlets and explain the advantages of Servlet life cycle?
Why are http servlets used in programming?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What are the functions of the servlet container?
What is servlet configuration?