Can we call destroy() method inside the init() method? What
happens when we do so?
Answer Posted / srilatha
In the servlet life cycle First our request calls to the
init()method,Inside it will doing some operations related
to the objects after that it will cal the destory() method
The destory()removes the servlet object,before calling to
service() method.
| Is This Answer Correct ? | 2 Yes | 12 No |
Post New Answer View All Answers
What are the uses of servlets?
What is the process for chaining servlet?
What do you mean by request dispatcher in servlet? Also explain its methods.
What are the types of an http request?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
What are the types of protocols supported by httpservlet ?
What are the types of servlets? Explain
How to upload a file to the server using servlet?
What is servlet and list its types?
What is the importance of init() method in Servlet ?
Why the concept of single thread model interface is used?
What are the differences between the servletconfig interface and the servletcontext interface?
What is a web container and what is its responsibility?
Can servlet have a constructor ?
Elucidate servlet attributes and its scope?