summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng/helloworld-jsp-gae-contribution/war/error.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/rfeng/helloworld-jsp-gae-contribution/war/error.jsp')
-rw-r--r--sandbox/rfeng/helloworld-jsp-gae-contribution/war/error.jsp35
1 files changed, 35 insertions, 0 deletions
diff --git a/sandbox/rfeng/helloworld-jsp-gae-contribution/war/error.jsp b/sandbox/rfeng/helloworld-jsp-gae-contribution/war/error.jsp
new file mode 100644
index 0000000000..2a1bb23c91
--- /dev/null
+++ b/sandbox/rfeng/helloworld-jsp-gae-contribution/war/error.jsp
@@ -0,0 +1,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>