我在tomcat的web.xml中设置了如下关于错误页的设置
<error-page>
<error-code>404</error-code>
<location>/error.htm</location>
</error-page>
为什么在火狐上碰到错误404可以正确跳转的我写的一个error.htm上,但在遨游浏览器中不行!
<error-page>
<error-code>404</error-code>
<location>/error.htm</location>
</error-page>
为什么在火狐上碰到错误404可以正确跳转的我写的一个error.htm上,但在遨游浏览器中不行!
1 万恶的IE(6)
2 把你的页面大小弄到1024字节以上(增加<!--xxxxxxxxxxxxxxx-->注释)