error.jsp
来自「100多M的J2EE培训内容」· JSP 代码 · 共 21 行
JSP
21 行
<%-- JSP container forwards request to this jsp, if any exceptions in processing --%>
<html>
<head><title> URS's Error page </title></head>
<body>
<%@ page isErrorPage="true" %>
<% if (exception != null) { %>
<p> The following exception was thrown:
<p> <%= exception %>
<p> The stack trace is as follows:
<%
ByteArrayOutputStream str = new ByteArrayOutputStream();
exception.printStackTrace(new PrintStream(str));
out.print(str);
}
%>
<p>Please click here to return to <a href="/ursday21ex/">main page</a>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?