首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

JSP定义异常页面

2012-07-02 
JSP定义错误页面!-- 定义默认访问页 --welcome-file-listwelcome-fileindex.html/welcome-filewe

JSP定义错误页面

<!-- 定义默认访问页 --><welcome-file-list><welcome-file>index.html</welcome-file><welcome-file>index.action</welcome-file></welcome-file-list><!-- 出错页面定义 --><error-page><exception-type>java.lang.Throwable</exception-type><location>/html/error_page.html</location></error-page><error-page><error-code>500</error-code><location>/html/error_page_500.html</location></error-page><error-page><error-code>404</error-code><location>/html/error_page_404.html</location></error-page><error-page><error-code>403</error-code><location>/html/error_page_403.html</location></error-page>

热点排行