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
What are the two important api's in for servlets?
What are the features added in Servlet 2.5?
What are the different mode that servlets can be used?
What is the life-cycle of servlets?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
How to generate the server side programming and the advantages of it over the other languages?
What are the objects involved when a servlet receives a call from client?
How to get the current httpsession object?
What is servlet and how it works?
What’s the difference between sendredirect and forward methods
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Define the life cycle of a servlets.
What are the functions of Servlet container?
Name the different ways of session tracking.
What are the benefits of using servlet over cgi?