⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exception.jsp

📁 相当板扎,采用贝叶斯公式的垃圾邮件过滤程序
💻 JSP
字号:
<%--
  *  @author   Shefali Bansal
  *  @version  1.0
  *
  *  Name of the Application        : Exception.jsp
  *  Development Environment        : Oracle JDeveloper 10g
  *  Creation/Modification History  :
  *
  *     Shefali Bansal 02-Jan-2004     Created
  *
  *  Overview of Application        :
  *    This is the Exception page for the JSP Multimedia application.
  *    This page is displayed whenever any exception is encountered in
  *    any of the JSPs of the JSP Multimedia application.
--%>

<%@ page language="java" %>
<%@ page isErrorPage="true" %>
  
<HTML>
<HEAD>
<TITLE>JSP Multimedia Tag Application: Error Page </TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<link rel="stylesheet" href="stylesheets/styles.css" type="text/css">

</HEAD>
<BODY text=#000000>

<!-- Main table -->
<TABLE border=0 cellPadding=0 cellSpacing=0 height=58 width=100%>
  <TR>
    <TD valign="top" width="100%">
      <!-- Include the static 'Header.jsp' file  -->
      <%@ include file="Header.jsp" %>
    </TD>
  </TR>
  <TR>
    <TD width="100%">
      <table WIDTH ="100%" cellspacing=0 cellpadding=0  height="100%"
      bgcolor="#FFFFFF">
        <tr>
          <TD height="100%">
            <!-- 5th table starts here working area and heading -->
            <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
              <!-- Heading of the page goes here -->
              <TR>
                <TD valign="top" colspan="3" noWrap>&nbsp;</TD>
              </TR>
              <TR>
                <TD valign="top" colspan="3" noWrap>&nbsp;</TD>
              </TR>
              
              <TBODY>
              <TR>
                <TD valign="top" width="4%" noWrap>&nbsp;</TD>
                <TD vAlign=top width="93%" align="center">
                  <form name="LoginFrm" method="post">  
                  <!- Exception displaying table -->
                  <TABLE BORDER=1> 
                    <TR> 
                      <TD><B>An unexpected error occurred. The name of the exception is:</B></TD>
                      <TD><%= exception %></TD>
                    </TR> 
                    <TR> 
                      <TD><B>Message</B></TD>
                      <TD><%= exception.getLocalizedMessage() %></TD>
                    </TR> 
                  </TABLE>
                  </form>
                </TD>
                <TD width="3%">&nbsp;</TD>
              </TR>
              <TR>
                <TD valign="top" colspan="3" noWrap>&nbsp;</TD>
              </TR>
              <TR align="center"> 
                <TD colspan=3><a href="javascript:history.go(-1)"><img
                        src="images/backbutton.gif" border=0 width="55" height="23" /></a> 
                  &nbsp; <a href="javascript:window.close()"><img src=
            "images/closebutton.gif" border=0 width="55" height="23" /></a> </TD>
              </TR>

              <TR>
                <TD colspan=3>&nbsp;</TD>
              </TR>
              </TBODY>
            </TABLE>
           
          </TD>
        </tr>
      </table>
    </td>
    
  </TR>
  <TR>
    <!-- Include static 'Footer.jsp' file -->
    <%@ include file="Footer.jsp" %>
  </TR>
</TABLE>
<!-- Main table ends here-->
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -