前提:

错误页面已经正确设置<%@ page errorPage="error.jsp" %>并且跳转页面也正确设置<%@ page isErrorPage="true">

但是跳转后显示为:

JSP使用errorpage内置对象无法正常跳转到指定错误页面

这是由于浏览器默认设置了JSP使用errorpage内置对象无法正常跳转到指定错误页面

打开浏览器设置,将勾选的此选项取消即可正常跳转错误页面

相关文章:

  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
  • 2021-10-26
  • 2022-01-09
  • 2021-10-31
  • 2021-06-28
猜你喜欢
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2021-05-06
  • 2021-08-18
相关资源
相似解决方案