error.jsp 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
  2. <%
  3. String basePath=request.getContextPath();
  4. %>
  5. <html>
  6. <head>
  7. <%@include file="/commons/include/get.jsp" %>
  8. <title>页面出错了</title>
  9. <style type="text/css">
  10. .STYLE10 {font-family: "黑体";font-size: 20px;}
  11. </style>
  12. <script type="text/javascript">
  13. function showErrorMsg(){
  14. var url="<%=basePath%>/platform/system/sysErrorLog/geterror.ht";
  15. var param={id:${errorCode}};
  16. $.post(url,param,function(data){
  17. var obj = $.parseJSON(data);
  18. $.ligerDialog.err("错误信息","错误码:"+${errorCode},obj.error);
  19. });
  20. }
  21. </script>
  22. </head>
  23. <body>
  24. <table border="0" align="center" cellpadding="0" cellspacing="0">
  25. <tr>
  26. <td><img src="${ctx}/styles/default/images/error/error_top.jpg" /></td>
  27. </tr>
  28. <tr>
  29. <td height="200" align="center" valign="top" background="${ctx}/styles/default/images/error/error_bg.jpg">
  30. <table width="80%" border="0" cellspacing="0" cellpadding="0">
  31. <tr>
  32. <td width="66%" valign="top" align="center">
  33. <table width="100%">
  34. <tr height="25">
  35. <td>
  36. <span class="STYLE10">出错了,请联系管理员!</span>
  37. </td>
  38. </tr>
  39. <tr height="70">
  40. <td>
  41. 错误码:<a class="link" href="javascript:;" onclick="showErrorMsg()" >${errorCode}</a>
  42. </td>
  43. </tr>
  44. </table>
  45. </td>
  46. </table>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td><img src="${ctx}/styles/default/images/error/error_bootom.jpg" /></td>
  51. </tr>
  52. </table>
  53. </body>
  54. </html>