error_view.jsp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <%@ page language="java" contentType="text/html;charset=GBK"
  2. pageEncoding="GBK"%>
  3. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=GBK" />
  8. <title>失败提示</title>
  9. <script src="/shares/js/jquery-1.7.1.min.js" type="text/javascript"></script>
  10. <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
  11. <script type="text/javascript">
  12. var objTimer = window.setInterval(showalert, 1000);
  13. var i=4;
  14. function showalert()
  15. {
  16. $("#num").html(i);
  17. i--;
  18. }
  19. window.setTimeout("error()",5000);
  20. function error(){
  21. window.clearInterval(objTimer);
  22. window.parent.location.href = "${pageContext.request.contextPath }${url}";
  23. }
  24. </script>
  25. </head>
  26. <body>
  27. <div class="sucess_ico"><img src="/shares/images/master1/error.png" width="173" height="96" /></div>
  28. <div class="sucess_f">${error}</div>
  29. <div class="sucess_f1">如果<span id="num">5</span>秒钟后还没跳转,请<a href="#" onclick="error();" style="color: white;text-decoration:underline;"><span class="sucess_f1">点击这里</a></span>!</div>
  30. <!-- <div class="sucess_c"><input type="button" class="sucess_btn" value="返回列表" /></div> -->
  31. </body>
  32. </html>