java_web/webapp/expection.jsp

24 lines
488 B
Plaintext
Raw Normal View History

2024-12-09 22:17:48 +08:00
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page isErrorPage="true" %>
<%@ page import="java.io.*" %>
<html>
<head><title>Exception Example</title></head>
<body>
<p>exception<6F><6E><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>ʾ<EFBFBD><CABE></p>
<hr size='0'>
<font color="#ff0000" size="-1">
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><br>
<%
exception.printStackTrace();
StringWriter sout = new StringWriter();
PrintWriter pout = new PrintWriter(sout);
exception.printStackTrace(pout);
%>
<pre>
<%= sout.toString() %>
</pre>
</body>
</html>