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
How to get the path of servlet in the server?
What is httpservlet class?
Why do we have servlet wrapper classes?
What is the difference between 2 types of servlets?
What must be implemented by all servlets?
How is an application exception handling is done using a servlet?
What is the difference between the http servlet and generic servlet?
How httpservlet is different from the genericservlet?
What are the types of an http request?
What are the common methods that are included in the http servlet class?
How we can create war file in servlet?
What are the disadvantages of storing session state in cookies?
How to create war file?
How can you use a servlet to generate a plain text instead of html?
What are different ways for authentication of servlet?