can i call destroy() method in init() method of servlet
Answer Posted / helper
Shekhar babu, if you don't know anything. why are you
answering questions. Just read the answers as you should be
able to analyze your abilities.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the procedure of invoking different servlet in a different application?
What do you mean by mime type?
What is the life cycle of a servlet?
Why jsp is better than servlet?
What is a web container and what is its responsibility?
Why the concept of single thread model interface is used?
How a servlet is unloaded?
Describe some assignments that are executed by servlet container?
Can we override destroy method in servlet?
If a servlet is not properly initialized, what exception may be thrown?
What is webservlet?
What are the differences between the servletconfig interface and the servletcontext interface?
What do you mean by web applications? Explain web application directory arrangement?
What are all the ways for session tracking?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?