web.xml配置error-page在IE下不起作用
2013-06-19 16:35
786 查看
解决方法:
在错误页面加上这句代码:<% response.setStatus(200);%>
记得在页面标识isErrorPage属性为true,如下
<%@ page contentType="text/html; charset=UTF-8" isErrorPage="true" %>
在错误页面加上这句代码:<% response.setStatus(200);%>
记得在页面标识isErrorPage属性为true,如下
<%@ page contentType="text/html; charset=UTF-8" isErrorPage="true" %>
相关文章推荐
- web.xml配置error-page,IE不显示配置页面
- web.xml 中配置了error-page但不起作用问题
- 关于web.xml配置error-page或者springmvc添加自定义异常返回画面,画面没有显示
- 在web.xml中配置error-page
- web.xml中配置<error-page>标签不起作用的问题
- web.xml中配置<error-page>标签不起作用的问题
- 在web.xml中配置error-page
- web.xml中两种配置error-page的方法
- JavaEE在web.xml中实现错误页面配置(error page)
- 在web.xml中配置error-page
- 在 web.xml中配置error-page(错误重定向)
- web.xml中配置<error-page>标签
- java web 在web.xml中配置error-page
- 在tomcat的web.xml文件中配置error-page
- 在web.xml中配置error-page
- Jsp中errorPage使用及web.xml配置
- 在web.xml中配置error-page
- 在web.xml中配置error-page
- 在web.xml中配置error-page
- web.xml 配置了 error-page 不能跳转到指定页面