404.jsp 794 B

12345678910111213141516171819202122232425262728
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  5. %>
  6. <!doctype html>
  7. <html>
  8. <head>
  9. <title>404|页面未找到</title>
  10. <meta charset="UTF-8" />
  11. <meta name="viewport" content="width=device-width" />
  12. <link rel="stylesheet" href="<%=path%>/css/404.css">
  13. </head>
  14. <body>
  15. <div id="error">
  16. <a href="<%=path%>">
  17. <img src="${pageContext.request.contextPath}/image/404.png" alt="404 page not found" />
  18. </a>
  19. <script type="text/javascript">
  20. function goback(){
  21. window.history.go(-1);
  22. }
  23. setTimeout("goback()", 3000);
  24. </script>
  25. </div>
  26. </body>
  27. </html>