Can we call destroy() method inside the init() method? What
happens when we do so?
Answer Posted / mani
In the Servlet programming context, the destroy() method
can never be called by your code and is called by the
servlet container
| Is This Answer Correct ? | 23 Yes | 6 No |
Post New Answer View All Answers
What are the different mode that servlets can be used?
What is the use of servletconfig interface?
What do you mean by the servlet chaining?
What is meant by session? Tell me something about httpsession class?
Which http method is said to be non-idempotent and idempotent?
What do you mean by cgi in servlet?
What is context in servlet?
Which event is fired at the time of setting, getting or removing attribute from application scope?
What is servlet initializer?
How servlet is created?
Which is the methods of generated servlet?
How does tomcat servlet container work?
Is servlet thread safe?
How can a servlet be used to generate plain text instead of html?
Can we override destroy method in servlet?