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

📄 error500.jsp

📁 信息发布 发布系统 动态的菜单 和 信息统计
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ page isErrorPage="true"%>
<html>
	<head>
		<title>500 错误!</title>
	</head>

	<body>
		出错了:
		<p>
			错误信息:
			<%=exception.getMessage()%>
		</p>
		Stack Trace is :
		<pre>
<font color="red">
<%//http://www.ChinaJavaWorld.com/
            java.io.CharArrayWriter cw = new java.io.CharArrayWriter();
            java.io.PrintWriter pw = new java.io.PrintWriter(cw, true);
            exception.printStackTrace(pw);
            out.println(cw.toString());

            %>
  </font>
</pre>
<%

            if (exception.getCause() != null) {%>
		Cause is :
		<pre>
<font color="red">
<%//http://www.ChinaJavaWorld.com/
                exception.getCause().printStackTrace(pw);
                out.println(cw.toString());

        %>
  </font>
</pre>
<%
            }
%>
	</body>
</html>

⌨️ 快捷键说明

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