blob: 2a1bb23c917cbe0567b759f1022d8491da0026e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<%@ page isErrorPage="true" import="java.io.*"%>
<html>
<head>
<title>Exceptional Even Occurred!</title>
<style>
body,p {
font-family: Tahoma;
font-size: 10pt;
padding-left: 30;
}
pre {
font-size: 8pt;
}
</style>
</head>
<body>
<%-- Exception Handler --%>
<font color="red"> <%=exception.toString()%><br>
</font>
<%
out.println("<!--");
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
exception.printStackTrace(pw);
out.print(sw);
sw.close();
pw.close();
out.println("-->");
%>
</body>
</html>
|