What are the methods in Servlet?

Methods of Servlet interface
MethodDescription
public void destroy()is invoked only once and indicates that servlet is being destroyed.
public ServletConfig getServletConfig()returns the object of ServletConfig.
public String getServletInfo()returns information about servlet such as writer, copyright, version etc.

Related Posts: