init() This method is called by the servlet container to indicate to the servlet
that it must initialize itself and get ready for service. The container
passes an object of type ServletConfig as a parameter.
service() This method is called by the servlet container for each request from the
client to allow the servlet to respond to the request.
destroy() This method is called by the servlet container to indicate to the servlet
that it must clean up itself, release any required resources, and get ready
to go out of service.
getServletConfig() Returns information about the servlet, such as a parameter to the
init() method.
getServletInfo() The implementation class must return information about the servlet,
such as the author, the version, and copyright information
Methods of the javax.servlet.Servlet interface
Friday, August 21, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment