<!--
|
~ Copyright (c) 2017. OoxSoft. All rights reserved.
|
-->
|
|
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
|
version="4.0">
|
<!--配置SSL -->
|
<!-- <security-constraint>
|
<web-resource-collection>
|
<web-resource-name>SSL</web-resource-name>
|
<url-pattern>/*</url-pattern>
|
</web-resource-collection>
|
<user-data-constraint>
|
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
|
</user-data-constraint>
|
</security-constraint>-->
|
|
<!-- 开发阶段环境配置,生产部署时务必删除或屏蔽 -->
|
<context-param>
|
<param-name>javax.faces.PROJECT_STAGE</param-name>
|
<param-value>Development</param-value>
|
</context-param>
|
<context-param>
|
<param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>
|
<param-value>0</param-value>
|
</context-param>
|
<!-- 开发阶段环境配置,生产部署时务必删除或屏蔽 END-->
|
</web-app>
|