码迷,mamicode.com
首页 > Web开发 > 详细

jsp错误路径跳转设置

时间:2016-09-08 21:37:29      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:

<error-page>
<error-code>400</error-code>
<location>/king.html</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/king.html</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/king.html</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/king.html</location>
</error-page>
<error-page>
<exception-type>java.lang.NullPointerException </exception-type>
<location>/king.html</location>
</error-page>
<error-page>
<exception-type>javax.servlet.ServletException</exception-type>
<location>/king.html</location>
</error-page>

jsp错误路径跳转设置

标签:

原文地址:http://www.cnblogs.com/tk55/p/5854423.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!