Class IndexServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.netscape.cms.servlet.base.CMSServlet
com.netscape.cms.servlet.base.IndexServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class IndexServlet extends CMSServlet
This is the servlet that builds the index page in various ports.
See Also:
  • Field Details

  • Constructor Details

    • IndexServlet

      public IndexServlet()
  • Method Details

    • init

      public void init(javax.servlet.ServletConfig sc) throws javax.servlet.ServletException
      Specified by:
      init in interface javax.servlet.Servlet
      Overrides:
      init in class CMSServlet
      Throws:
      javax.servlet.ServletException
    • newCMSRequest

      public CMSRequest newCMSRequest()
      Description copied from class: CMSServlet
      Create a new CMSRequest object. This should be overriden by servlets implementing different types of request
      Overrides:
      newCMSRequest in class CMSServlet
      Returns:
      a new CMSRequest object
    • getServletInfo

      public String getServletInfo()
      Returns serlvet information.
      Specified by:
      getServletInfo in interface javax.servlet.Servlet
      Overrides:
      getServletInfo in class javax.servlet.GenericServlet
    • process

      public void process(CMSRequest cmsReq) throws EBaseException
      Serves HTTP request.
      Overrides:
      process in class CMSServlet
      Throws:
      EBaseException - if the servlet was unable to satisfactorily process the request