500.jsp 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8" isErrorPage="true"%>
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6. <style>
  7. body{margin: 0;}
  8. img{
  9. cursor: pointer;
  10. }
  11. </style>
  12. <!-- jQuery -->
  13. <script src="${pageContext.request.contextPath}/static/js/jquery-1.11.1.js"></script>
  14. <script type="text/javascript">
  15. function iFrameHeight(){
  16. $(window.parent.document).find("#iframepage").load(function(){
  17. var main = $(window.parent.document).find("#iframepage");
  18. var thisheight = $(document).height();
  19. main.height(thisheight);
  20. });
  21. }
  22. function backToIndex(){
  23. window.parent.location.href="${pageContext.request.contextPath}/main";
  24. }
  25. </script>
  26. <title>500-服务器异常</title>
  27. </head>
  28. <body onload="iFrameHeight()">
  29. <img onclick="backToIndex()" style="display: block;position: absolute;left: 50%;margin-top: -250px;top: 50%; margin-left: -318px;" src="${pageContext.request.contextPath}/static/biz/image/500.jpg"/>
  30. </body>
  31. </html>