2024-08-14 15:17:51 +08:00

47 lines
2.4 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
<%@ page import="org.apache.commons.logging.LogFactory" %>
<%@page import="java.io.PrintStream"%>
<%@page import="java.io.ByteArrayOutputStream"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="/commons/taglibs.jsp" %>
<style type="text/css">
<!--
a { color:#555}
html { height: 100%; width: 100%; background: url(${ctx}/resource/css/images/bj.png) repeat; }
body {margin: 0px auto;}
.cw404 { width:755px; margin: 0px auto; }
.cw404_nr { height: 284px; width: 750px; background: #e5e5e5; border: 1px solid #aaaaaa; margin: 0px auto; }
.cw404_top { height: 200px; width: 750px; margin: 0px auto; }
.top_left { float: left; height: 150px; width: 150px; }
.top_right { font-size: 100px; line-height: 150px; text-align: center; float: left; height: 150px; width: 600px; color: #3f8bc7; font-family: "΢ÈíÑźÚ"; font-weight: bold; }
.nr_top { font-size: 25px; line-height: 40px; height: 40px; margin-right: 5px; margin-left: 5px; border-bottom: 1px solid #aaaaaa; text-align: center; font-weight: bold; color: #555555; }
.nr_min { height: 200px; border-top: 1px solid #FFFFFF; margin-right: 5px; margin-left: 5px; border-bottom: 1px solid #aaaaaa; }
.nr_foot { font-size: 12px; line-height: 40px; background: #eaeaea; height: 40px; border-top: 1px solid #FFFFFF; color: #555; margin-right: 5px; margin-left: 5px; }
.min_top { font-size: 14px; line-height: 30px; height: 30px; }
.min_choose { height: 30px; width: 100px; border: 1px solid #aaa; font-size: 12px; line-height: 30px; text-align: center; background: #eaeaea; }
.else { height: 30px; }
.else li{ width:100px; float:left; margin-left:10px; font-size:12px; line-height:30px; display:inline}
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }
-->
</style>
<div class="cw404">
<div class="cw404_top">
<div class="top_left"><img src="${ctx}/resource/css/images/cw4.png"></div>
<div class="top_right">500</div>
</div>
<div class="">
<div class="nr_top">抱歉,系统内部发生错误,请您稍后再试或联系管理员!</div>
<% //此处输出异常信息
exception.printStackTrace();
ByteArrayOutputStream ostr = new ByteArrayOutputStream();
exception.printStackTrace(new PrintStream(ostr));
//out.print(ostr);
%>
</div>
</div>