Answer Posted / n.l.narayana
destroy() method is invoked automatically when ever the
servlet object is removed from the webcontainer
(Tomcat,weblogic,....)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?
What are the differences between the servletconfig interface and the servletcontext interface?
Why the concept of single thread model interface is used?
How do you deal property files in servlet?
Describe in brief RequestDespatcher?
What are some disadvantages of storing session state in cookies?
What are the objects involved when a servlet receives a call from client?
What are the different types of servlets?
Is java servlet still used?
What are the life cycle methods of a servlet?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is the purpose of dispatcherservlet properties?
Define the servlet mapping.
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
How the typical servlet code look like ?