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

📄 error.jsp

📁 一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.
💻 JSP
字号:

<%
/**
 *	$RCSfile: error.jsp,v $
 *	$Revision: 1.5.2.1 $
 *	$Date: 2001/01/21 21:30:25 $
 */
%>

<%@ page isErrorPage="true" %>

<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="java.io.*,
                 java.util.*,
                 java.net.*"
%>
<link rel="stylesheet" href="../../style/global.css">
<%! /////////////
	// Debug mode will print out full error messages useful for an administrator or developer.
	// When debug is false, a generic error message more suitable for an end user is printed and
	// stack traces go to System.err.
	boolean debug = false; 
%>

<%
	
%>



<%	//////////////////////
	// Header file include
	
	// The header file looks for the variable "title"
	String title = "MessageBox: Error";
%>

<table class=pageHeaderBg cellpadding="1" cellspacing="0" border="0" width="100%">
  <td><table class=pageHeaderFg cellpadding="3" cellspacing="0" border="0" width="100%">
       <td>
	<span class="pageTitle">
	页面错误
	</span>
	</td>
	</table></td>
</table>
<p>
	
<font color="red" size="-1" face="verdana,arial,helvetica">
<b>The following exception occured:</b>
</font>
<p>

<%	if (exception != null && debug) { 
		StringWriter sout = new StringWriter();
		PrintWriter pout = new PrintWriter(sout);
		exception.printStackTrace(pout);
%>
	<pre>
	<%= sout.toString() %>
	</pre>
	
<%	}
	else {
   		exception.printStackTrace();   
%>

	<%	if( exception instanceof UnauthorizedException ) { %>
	
		You were not authorized to that action.
	
	<%	} else { %>

		An error occured while processing your request.
	
	<%	} %>
   
<% } //end else %>

⌨️ 快捷键说明

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