📄 error.jsp.svn-base
字号:
<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true"%>
<%@ include file="/WEB-INF/pages/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><fmt:message key="error.title" />
</title>
</head>
<body>
<h3>
<fmt:message key="error.title" />
</h3>
<div>
<pre>
<%
Exception ex = (Exception) request.getAttribute("exception");
if (ex != null) {
if (ex instanceof org.springframework.core.NestedRuntimeException) {
org.springframework.core.NestedRuntimeException tmpEx = (org.springframework.core.NestedRuntimeException) ex;
Throwable nestedEx = tmpEx.getCause();
ex.printStackTrace(new java.io.PrintWriter(out));
out.println("<hr/>");
nestedEx.printStackTrace(new java.io.PrintWriter(out));
} else {
ex.printStackTrace(new java.io.PrintWriter(out));
}
}
%>
</pre>
<hr />
<pre>
<%
if (exception != null) {
if (exception instanceof org.springframework.orm.ObjectRetrievalFailureException) {
%>
<fmt:message key="error.object.retrieval" />
<%
} else {
exception.printStackTrace(new java.io.PrintWriter(out));
}
}
%>
</pre>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -