error_404.jsp 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <%@ page language="java" contentType="text/html;charset=UTF-8" isELIgnored="false" isErrorPage="true"%>
  2. <%@ taglib uri="/struts-tags" prefix="s"%>
  3. <%--<%
  4. //set html status 200
  5. response.setStatus(200);
  6. %>--%>
  7. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  8. <html>
  9. <head>
  10. <title>404</title>
  11. <base href="${pageContext.request.scheme}://${header['host']}${pageContext.request.contextPath}/">
  12. </head>
  13. <link href="css/errorPage/css/css.css" rel="stylesheet" type="text/css" />
  14. <script type="text/javascript"
  15. src="${pageContext.request.contextPath}/script/common/jquery-1.5.1.min.js"></script>
  16. <script type="text/javascript">
  17. $(function(){
  18. $("#back").click(function(){window.history.go(-1);});
  19. $("#close").click(function(){window.close();});
  20. if(typeof window.dialogArguments=="undefined"){
  21. $("#back").css("display","block");
  22. $("#close").css("display","none");
  23. $("#relogin").click(function(){window.top.location.href="logout.action";});
  24. }else{
  25. $("#back").css("display","none");
  26. $("#close").css("display","block");
  27. $("#relogin").click(function(){
  28. var _rv=new Object();
  29. _rv.errorFlag=true;
  30. window.returnValue=_rv;
  31. window.close();
  32. });
  33. }
  34. });
  35. </script>
  36. <body>
  37. <div id="">
  38. <br/>
  39. <br/>
  40. <br/>
  41. <br/>
  42. <br/>
  43. <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="table1">
  44. <tr>
  45. <td width="131" height="258" class="table1-td"><img src="css/errorPage/css/img/2.png" width="76" height="92" class="table1-pic"/></td>
  46. <td width="630" ><strong class="font1">对不起,你浏览的页面不存在或暂时不可用。请核查或者根据说明进行相应操作。</strong></td>
  47. </tr>
  48. <tr>
  49. <td colspan="2" class="font2">您可以尝试一下操作:</td>
  50. </tr>
  51. <tr>
  52. <td height="150" colspan="2"><table width="393" border="0" align="center" cellpadding="0" cellspacing="0">
  53. <tr>
  54. <td width="105"><a href="#"><span class="img1" id="back"></span></a></td>
  55. <td width="36">&nbsp; </td>
  56. <td width="105"><a href="#"><span class="img2" id="close"></span></a></td>
  57. <td width="41">&nbsp; </td>
  58. <td width="106"><a href="#"><span class="img3" id="relogin"></span></a></td>
  59. </tr>
  60. </table></td>
  61. </tr>
  62. </table>
  63. </div>
  64. </body>
  65. </html>