apache-tuscany/sandbox/rfeng/helloworld-jsp-google-appengine/war/error.jsp
2009-09-18 17:40:39 +00:00

35 lines
597 B
Text

<%@ 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>