赞
踩
<Realm className="org.apache.catalina.realm.LockOutRealm" failureCount="3" lockOutTime="600" cacheSize="1000" cacheRemovalWarningTime="3600">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="允许远程管理IP"/>
<error-page><exception-type>java.lang.Throwable</exception-type><location>/error.jsp</location></error-page>
,在webapps目录下创建error.jsp,定义自定义错误信息<security-constraint> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee></user-data-constraint> </security-constraint>
<Listener className="org.apache.catalina.security.SecurityListener" />
注释Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。