Class FacesServlet

  • All Implemented Interfaces:
    javax.servlet.Servlet

    public final class FacesServlet
    extends Object
    implements javax.servlet.Servlet
    see Javadoc of JSF Specification
    • Field Detail

      • CONFIG_FILES_ATTR

        @JSFWebConfigParam(since="1.1")
        public static final String CONFIG_FILES_ATTR
        Comma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/my-config.xml)See JSF 1.0 PRD2, 10.3.2 Attention: You do not need to put /WEB-INF/faces-config.xml in here.
        See Also:
        Constant Field Values
      • LIFECYCLE_ID_ATTR

        @JSFWebConfigParam(since="1.1")
        public static final String LIFECYCLE_ID_ATTR
        Identify the Lifecycle instance to be used.
        See Also:
        Constant Field Values
      • DISABLE_FACESSERVLET_TO_XHTML_PARAM_NAME

        @JSFWebConfigParam(since="2.3")
        public static final String DISABLE_FACESSERVLET_TO_XHTML_PARAM_NAME
        Disable automatic FacesServlet xhtml mapping.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FacesServlet

        public FacesServlet()
    • Method Detail

      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Servlet
      • getServletConfig

        public javax.servlet.ServletConfig getServletConfig()
        Specified by:
        getServletConfig in interface javax.servlet.Servlet
      • getServletInfo

        public String getServletInfo()
        Specified by:
        getServletInfo in interface javax.servlet.Servlet
      • init

        public void init​(javax.servlet.ServletConfig servletConfig)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Throws:
        javax.servlet.ServletException
      • service

        public void service​(javax.servlet.ServletRequest request,
                            javax.servlet.ServletResponse response)
                     throws IOException,
                            javax.servlet.ServletException
        Specified by:
        service in interface javax.servlet.Servlet
        Throws:
        IOException
        javax.servlet.ServletException