404.jsp 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  7. <html>
  8. <head>
  9. <base href="<%=basePath%>">
  10. <title>404</title>
  11. <meta http-equiv="pragma" content="no-cache">
  12. <meta http-equiv="cache-control" content="no-cache">
  13. <meta http-equiv="expires" content="0">
  14. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  15. <meta http-equiv="description" content="This is my page">
  16. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  17. <meta http-equiv="X-UA-Compatible" content="IE=10"/>
  18. <!--
  19. <link rel="stylesheet" type="text/css" href="styles.css">
  20. -->
  21. <link rel="stylesheet" type="text/css" href="css/common/hzbstyle.css">
  22. </head>
  23. <body>
  24. <center>
  25. <div style="width: 100%;height: 20%;"></div>
  26. <img alt="404" title="404异常" src="images/common/404.jpg" style="width: 200px;"><br/><br/>
  27. <font style="font-size: 16px;color: #f08300;" class="hzbspan">请重新<a href="<%=basePath%>jsp/login/loginre.jsp">登陆</a>!!!</font>
  28. </center>
  29. </body>
  30. </html>