Name
FacesServlet
Synopsis
This class is a servlet that acts as the entry point to a JSF view. It creates all infrastructure instances and then asks them to process the request as a JSF request.
Synopsis
Class name: |
javax.faces.webapp.FacesServlet |
Extends: |
None |
Implements: |
javax.servlet.Servlet |
Fields
-
public static final String CONFIG_FILES_ATTR
The name of the application context initialization parameter holding a list of JSF configuration files:
javax.faces.CONFIG_FILES
.-
public static final String LIFECYCLE_ID_ATTR
The name of the application context initialization parameter holding the class name of the
Lifecycle
implementation to use:javax.faces.LIFECYCLE_ID
.
Constructors
-
public FacesServlet()
Creates an instance.
Methods
-
public void destroy()
Releases all acquired resources.
-
public javax.servlet.ServletConfig getServletConfig()
Returns the
ServletConfig
instance.-
public String getServletInfo()
Returns information about this servlet.
-
public void init(javax.servlet.ServletConfig config)
Acquire all JSF infrastructure instances needed to process JSF requests.
-
public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws java.io.IOException, javax.servlet.ServletException
Create a
Lifecycle
instance and ask it to process the request.
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.