| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
- <%@include file="/common/taglibs.jsp"%>
- <%response.setStatus(404);%>
- <!doctype html>
- <html lang="en">
- <head>
- <%@include file="/common/meta.jsp"%>
- <title>404 - <spring:message code="core.404.notfound" text="页面不存在"/></title>
- <link href="${ctx}/s/bootstrap/css/bootstrap.min.css" rel="stylesheet">
- <link href="${ctx}/s/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
- <script type="text/javascript" src="${ctx}/s/jquery/jquery.min.js"></script>
- <script type="text/javascript">
- $(function() {
- $('#targetContentDiv').height($(window).innerHeight() - 150);
- })
- </script>
- <style type="text/css">
- #targetContentDiv {
- background-color: #b8b8b8;
- padding: 70px 0 80px;
- text-align: center;
- }
- #targetContentDiv h1 {
- font-size: 120px;
- letter-spacing: -2px;
- line-height: 1;
- }
- #targetContentDiv p {
- font-size: 40px;
- font-weight: 200;
- line-height: 1.25;
- font-weight: bold;
- padding: 10px;
- }
- #targetContentDiv li {
- display: inline;
- list-style: none outside none;
- }
- </style>
- </head>
- <body>
- <div id="targetContentDiv">
- <div class="container">
- <h1>404</h1>
- <p><spring:message code="core.404.notfound" text="页面不存在"/></p>
- <div style="color:gray;"><%=request.getAttribute("javax.servlet.forward.request_uri")%></div>
- <ul>
- <li><a class="btn btn-primary" href="${ctx}/">进入首页</a></li>
- <li><a class="btn" href="javascript:void(0);" onclick="history.back()">返回上一个页面</a></li>
- </ul>
- </div>
- </div>
- </body>
- </html>
|