error404.jsp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <HEAD xmlns="http://www.w3.org/1999/xhtml">
  3. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <TITLE> 页面没有找到 </TITLE>
  5. <%
  6. String ctx = request.getContextPath();
  7. %>
  8. </HEAD>
  9. <BODY >
  10. <script type="text/javascript">
  11. function isIFrameSelf(){try{if(window.top ==window){return false;}else{return true;}}catch(e){return true;}}
  12. <%-- function toHome(){ if(!isIFrameSelf()){ window.location.href="<%=ctx%>/";}} --%>
  13. //window.setTimeout("toHome()",5000);
  14. </script>
  15. <style>
  16. body{
  17. background-color: #EEF1F7;
  18. }
  19. a {
  20. text-decoration: none;
  21. }
  22. a:hover {
  23. font-weight: bold;
  24. }
  25. .div-error {
  26. background-color: #EEF1F7;
  27. width:409px; margin:100px auto; padding-right:150px;
  28. }
  29. img {
  30. border: 0px;
  31. width: 409px;
  32. }
  33. </style>
  34. <div class="div-error" >
  35. <div>
  36. <p>
  37. <a>
  38. <img src="<%=ctx %>/themes/default/images/error404.png"/>
  39. </a>
  40. </p>
  41. </div>
  42. </div>
  43. </body>
  44. </html>