📄 exception.jsp
字号:
<%--
* @author Rajat Gupta
* @version 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the Application : Exception.jsp
* Creation/Modification History :
*
* Rajat Gupta 22-Jan-2002 Created
*
* Overview of Application :
* This JSP is the Error Handler of the sample. All types of errors and
* exceptions thrown in the sample will be displayed here.
--%>
<%@ page language="java" isErrorPage="true" %>
<HTML><HEAD>
<TITLE>Advanced Queuing Sample - Exception occurred in the Sample</TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<link rel="stylesheet" href="stylesheets/styles.css" type="text/css">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff text=#000000>
<form name="ExceptionForm" method="post">
<!-- Main table -->
<jsp:include page="include/Top.jsp" />
<SPAN class="greeting"> Exception in Advanced Queuing</SPAN></td>
<td align="right">
</td>
</tr>
</table>
<!-- 3rd Table ends here for top bar -->
</TD>
</TR>
<TR><TD> </TD></TR>
<TR><TD> </TD></TR>
<!-- Heading of the page goes here -->
<TR><TD class="mainHeading" align="center">Following Exception occurred in the sample : </TD></TR>
<TR><TD> </TD></TR>
<TR>
<TD>
<!-- 5th table starts here working area -->
<TABLE border=0 cellPadding=0 cellSpacing=0 width=970 >
<TBODY>
<TR>
<TD valign="top" width="15%" noWrap> </TD>
<TD vAlign=top width="75%" align="center">
<!-- 6th table starts here-->
<TABLE border=0 width="75%">
<TBODY>
<TR>
<%--
If the exception thrown is from the Java Classes, then it
will get the exception from the request object. If an error
or exception is thrown in some other JSP page, then the
exception will be shown using the implicit object 'exception'.
--%>
<TD class="subHeading">
<% if(request.getAttribute("Exception") != null){
%>
<%=request.getAttribute("Exception")%>
<%
}else{
%>
<%= exception.toString() %>
<%
}
%>
</TD>
</TR>
</TBODY>
</TABLE>
<!-- 6th table ends here -->
</TD>
<TD width="10%"> </TD>
</TR>
<TR><TD colspan=3> </TD></TR>
<TR>
<TD colspan=3 align="center">
<img src="images/Close.gif" border=0 width="60" height="32" onMouseUp="window.close()">
<a href="ControllerServlet?Event=SignOut">
<img src="images/login12.gif" border=0 width="60" height="32" onMouseUp="loginAgain()">
</a>
</TD>
</TR>
</TBODY>
</TABLE>
<!-- 5th table ends here working area-->
</TD>
</TR>
<TR>
<TD vAlign=top align=left noWrap> </TD>
</TR>
<TR>
<TD vAlign=top align=left ><image src="images/line.gif" height="3" width="970"></TD>
</TR>
<TR>
<TD height=19 vAlign=top align="left"><font face="Arial, Helvetica" size=-2>
© Copyright 2002 Oracle Corporation.
All rights reserved.</font> </TD>
</TR>
</TABLE>
<!-- Main table ends here-->
</form>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -