struts配置错误页面
<!-- 出错页面定义 -->
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/pageError.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/pageError.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/notFound.jsp</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>/common/403.jsp</location>
</error-page>
摘自 web前端wyy的专栏
补充:Web开发 , Jsp ,