<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
  <head>
    <title>服务器找不到请求的资源 - 404</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style type="text/css">
    body{margin:0;padding:0;font: 13px/20px 'Microsoft YaHei', 微软雅黑, helvetica, arial, verdana, tahoma, sans-serif;}
    p{text-align:center;margin-top:23%;height:150px;line-height:150px;background-color:#f2dede;color:#a94442;font-size:2.3em;font-weight:900;overflow: hidden;}
    ul,li{list-style:none}li>span{padding-left:100px;width:90%;display:block;font-weight:500;}li{font-size:16px;font-weight:700}
    .footer{text-align:center}
    @media screen and (max-width: 960px){
        .trace_exp{display: none}
    }
    </style>
  </head>
  <body>
      <p>${errors}</p>
      <ul class="trace_exp" style="<c:if test="${not debug}"> display:none</c:if>">
          <li>Failed URL: <span>${url}</span></li>
          <li>Referer URL: <span>${referer}</span></li>
          <li>Exception Trace:
            <c:forEach items="${exception.stackTrace}" var="ste">
            <span> ${ste} </span>
            </c:forEach>
          </li>
      </ul>
  </body>
</html>
