Can we call destroy() method inside the init() method? What
happens when we do so?
Answer Posted / ravikiran
a call to the destroy method will happen and the resources
will be released and the flow will continue as it is and
will throw an exception if the released resource is used
indie the service method call.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are the different session tracking techniques?
How do you run a servlet?
Explain servlet life cycle?
How to handle exceptions thrown by application with another servlet?
What do you mean by url pattern in servlet?
How we can create war file in servlet?
What is a java servlet?
How httpservlet is different from the genericservlet?
What do you understand by mime type?
Why the container loads server at the application startup and how?
How can you use a servlet to generate a plain text instead of html?
What are the objects involved when a servlet receives a call from client?
What do you mean by filter in servlet?
What are advantages of servlets over cgi?
What’s the difference between genericservlet and httpservlet?