web.xml配置
<error-page>
<error-code>404</error-code>
<location>/error.html</location>
</error-page>
解决办法
1、确保error.jsp的大小>1024字节;
2、在IE【工具】->【Internet选项】->【高级】中勾掉【显示友好http错误提示】。
web.xml配置
<error-page>
<error-code>404</error-code>
<location>/error.html</location>
</error-page>
1、确保error.jsp的大小>1024字节;
2、在IE【工具】->【Internet选项】->【高级】中勾掉【显示友好http错误提示】。