【发布时间】:2012-04-24 11:42:44
【问题描述】:
可能重复:
Is there a way to configure usage of ONE custom error page for ALL error codes in tomcat's web.xml?
我想将所有 HTTP 错误(4xx、5xx)重定向到全局错误页面。有没有比在我的 web.xml 中添加大量错误页面元素更好的解决方案?
谢谢
【问题讨论】:
标签: tomcat global custom-error-pages