summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng/helloworld-jsp-google-appengine/war/error.jsp
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-09-18 17:40:39 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-09-18 17:40:39 +0000
commitc5bbbaa969f990c7ebcebefd11ee3fad0f6c7636 (patch)
tree7cd984a61ee74eebfe73f4cfb10f9a10e141d54f /sandbox/rfeng/helloworld-jsp-google-appengine/war/error.jsp
parent28185a36579c352f340b79c385d1b91870186f43 (diff)
Add the helloworld-jsp app that can be run on Google App Engine
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@816722 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/rfeng/helloworld-jsp-google-appengine/war/error.jsp')
-rw-r--r--sandbox/rfeng/helloworld-jsp-google-appengine/war/error.jsp35
1 files changed, 35 insertions, 0 deletions
diff --git a/sandbox/rfeng/helloworld-jsp-google-appengine/war/error.jsp b/sandbox/rfeng/helloworld-jsp-google-appengine/war/error.jsp
new file mode 100644
index 0000000000..2a1bb23c91
--- /dev/null
+++ b/sandbox/rfeng/helloworld-jsp-google-appengine/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>