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 kinds of http requests?
What are the types of servlets? Explain
What do you understand by mime type?
What's the use of servletcontext?
Why is a constructor needed in a servlet even if we use the init method?
What is the difference in between the httpservlet and generic servlet?
What is SingleThreadModel interface?
Write all the phases defined in servlet life cycle?
Define the life cycle of a servlets.
what do you understand by url rewriting?
Write a simple servlet program to print the contents of html.
Can you call a jsp from the servlet?
When a servlet accepts a call from a client, it receives two objects. What are they?
What is servlet attributes and their scope?
What is servlet and its advantages?