把下面内容插入到 项目web.xml 文件中
<security-constraint> <web-resource-collection> <web-resource-name>Getssl</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint>