You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.6 KiB
46 lines
1.6 KiB
<%@page import="java.io.PrintStream"%>
|
|
<%@page import="java.io.ByteArrayOutputStream"%>
|
|
<%@page import="org.wdk.WDKConstant"%>
|
|
<%@page import="org.wdk.WDKCore"%>
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true"%>
|
|
<%
|
|
String path = request.getContextPath();
|
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
|
|
String WDK_ROOT = WDKCore.WDK_ROOT;
|
|
String RSS_ROOT = WDK_ROOT +"/"+WDKConstant.Theme+"/"+WDKCore.THEME;
|
|
%>
|
|
<!DOCTYPE html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
|
|
|
|
<base href="<%=basePath%>" target="_self">
|
|
<title>500服务器错误</title>
|
|
<script type="text/javascript" src="<%=WDK_ROOT%>/theme/je/core/js/wdk.js"></script>
|
|
</head>
|
|
<body>
|
|
<table style="border:0;margin-top:100px;width:100%;">
|
|
<tr>
|
|
<td style="width:50%;text-align:right;" rowspan="2">
|
|
<img src="wdk/theme/je/core/images/errorpage.png">
|
|
</td>
|
|
<td style="width:50%;height:50px;font-size:30px;font-weight:bold;" >
|
|
哎呀~,程序出错了!
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:50%;" >
|
|
<% //此处输出异常信息
|
|
//exception.printStackTrace();
|
|
|
|
//ByteArrayOutputStream ostr = new ByteArrayOutputStream();
|
|
// exception.printStackTrace(new PrintStream(ostr));
|
|
// out.print(ostr);
|
|
%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|