Generic Servlet Abstract class

 GenericServlet Abstract class contains below methods 

public javax.servlet.GenericServlet();

  public void destroy();

  public java.lang.String getInitParameter(java.lang.String);

  public java.util.Enumeration<java.lang.String> getInitParameterNames();

  public javax.servlet.ServletConfig getServletConfig();

  public javax.servlet.ServletContext getServletContext();

  public java.lang.String getServletInfo();

  public void init(javax.servlet.ServletConfig) throws javax.servlet.ServletException;

  public void init() throws javax.servlet.ServletException;

  public void log(java.lang.String);

  public void log(java.lang.String, java.lang.Throwable);

  public abstract void service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) throws javax.servlet.ServletException, java.io.IOException;

  public java.lang.String getServletName();


Comments

Popular posts from this blog

Advantages and Disadvantages of Monolithic Architecture

Monolithic Architecture

Eclipse debugging