2008.04.11 摘自 JSF in aciton 3.1.4 Configuration Page/126
1.JSF 中的Servlet叫FacesServlet,由JSF处理的请求首先要由这个Servlet来处理,这个配置在WEB-INF/web.xml文件中,














2. FacesServlet中可以配置的参数
Context Parameter |
Description |
Default |
说明 |
javax.faces.CONFIG_FILES |
Comma-delimited list of context-relative |
None |
配置文件 |
javax.faces.DEFAULT_SUFFIX |
Default suffix for resources to load when |
.jsp |
|
javax.faces.LIFECYCLE_ID |
Identifier for the Lifecycle instance to be |
The default |
|
javax.faces.STATE_SAVING_METHOD |
Indicates whether to save the state of UI |
server |
组件状态 |
example web.xml












