Package jakarta.faces.webapp
Class FacesServlet
java.lang.Object
jakarta.faces.webapp.FacesServlet
- All Implemented Interfaces:
- jakarta.servlet.Servlet
see Javadoc of Faces Specification
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringTheServletContextinit parameter consulted by the runtime to tell if the automatic mapping of theFacesServletto the extensionless variant (without*.xhtml) should be enabled.static final StringComma separated list of URIs of (additional) faces config files.static final StringDisable automatic FacesServlet xhtml mapping.static final StringIdentify the Lifecycle instance to be used.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
CONFIG_FILES_ATTRComma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/my-config.xml)See Faces 1.0 PRD2, 10.3.2 Attention: You do not need to put /WEB-INF/faces-config.xml in here.- See Also:
 
- 
LIFECYCLE_ID_ATTRIdentify the Lifecycle instance to be used.- See Also:
 
- 
DISABLE_FACESSERVLET_TO_XHTML_PARAM_NAMEDisable automatic FacesServlet xhtml mapping.- See Also:
 
- 
AUTOMATIC_EXTENSIONLESS_MAPPING_PARAM_NAME@JSFWebConfigParam(since="4.0") public static final String AUTOMATIC_EXTENSIONLESS_MAPPING_PARAM_NAMEThe ServletContextinit parameter consulted by the runtime to tell if the automatic mapping of theFacesServletto the extensionless variant (without*.xhtml) should be enabled. The implementation must enable this automatic mapping if and only if the value of this parameter is equal, ignoring case, totrue.If this parameter is not specified, this automatic mapping is not enabled. - See Also:
 
 
- 
- 
Constructor Details- 
FacesServletpublic FacesServlet()
 
- 
- 
Method Details- 
destroypublic void destroy()- Specified by:
- destroyin interface- jakarta.servlet.Servlet
 
- 
getServletConfigpublic jakarta.servlet.ServletConfig getServletConfig()- Specified by:
- getServletConfigin interface- jakarta.servlet.Servlet
 
- 
getServletInfo- Specified by:
- getServletInfoin interface- jakarta.servlet.Servlet
 
- 
initpublic void init(jakarta.servlet.ServletConfig servletConfig) throws jakarta.servlet.ServletException - Specified by:
- initin interface- jakarta.servlet.Servlet
- Throws:
- jakarta.servlet.ServletException
 
- 
servicepublic void service(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws IOException, jakarta.servlet.ServletException - Specified by:
- servicein interface- jakarta.servlet.Servlet
- Throws:
- IOException
- jakarta.servlet.ServletException
 
 
-