liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<%@page import="com.jeeplus.common.web.Servlets"%>
<%
response.setStatus(404);
 
// 如果是异步请求或是手机端,则直接返回信息
if (Servlets.isAjaxRequest(request)) {
    out.print("页面不存在.");
}
 
//输出异常信息页面
else {
%>
<!DOCTYPE html>
<html>
 
<head>
  <title>404 页面</title>
  <link href="${ctxStatic}/common/css/style.css?v=3.2.0" type="text/css" rel="stylesheet" />
</head>
 
<body class="gray-bg">
 
 
    <div class="middle-box text-center animated fadeInDown">
        <h1>404</h1>
        <h3 class="font-bold">页面未找到!</h3>
 
        <div class="error-desc">
            抱歉,页面好像去火星了~
        </div>
    </div>
 
</body>
 
</html>
 
<%}%>