12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <%@ page language="java" contentType="text/html;charset=UTF-8"
- isELIgnored="false"%>
- <%@ taglib uri="/struts-tags" prefix="s"%>
- <%--
- //必须set html status 200
- response.setStatus(200);
- --%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>错误页面</title>
- </head>
- <link href="css/errorPage/css/add.css" rel="stylesheet" type="text/css" />
- <%@include file="/WEB-INF/include/common.jsp"%>
- <script src="script/loadingMask/modalDialog.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(function() {
- $("#back").click(function() {
- window.history.go(-1);
- });
- $("#close").click(function() {
- window.close();
- });
- if (typeof window.dialogArguments == "undefined") {
- $("#back").css("display", "block");
- $("#close").css("display", "none");
- $("#relogin").click(function() {
- window.top.location.href = "userlogout.action";
- });
- } else {
- $("#back").css("display", "none");
- $("#close").css("display", "block");
- $("#relogin").click(function() {
- var _rv = new Object();
- _rv.errorFlag = true;
- window.returnValue = _rv;
- window.close();
- });
- }
- });
- </script>
- <body>
- <table border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td class="errot_bg">
- <table width="80%" border="0" align="center" cellpadding="0"
- cellspacing="0" class="error">
- <tr>
- <td width="80%" style="align: center"><font color="blue">
- <script type="text/javascript">
- <s:if test="exception.message == 'session.invalid'">
- window.top.location = '${ctx }/login.action';
- </s:if>
- </script>
- <strong><s:property value="exception.message" /></strong>
- </font>
- </td>
- </tr>
- <tr style="height: 1px">
- <td> <br>
- </td>
- </tr>
- <%-- <tr>--%>
- <%-- <th>您可以尝试以下操作:</th>--%>
- <%-- </tr>--%>
- <%-- <tr>--%>
- <%-- <td height="90"><table width="70%" border="0" align="right" cellpadding="0" cellspacing="0" >--%>
- <%-- <tr>--%>
- <%-- <td width="69%" align="center"><img id="back" src="images/houtui.gif" width="69" height="26" style="cursor: pointer;"/></td>--%>
- <%-- <td width="31%" align="center"><img id="relogin" src="images/chongxindenglu.gif" width="69" height="26" style="cursor: pointer;"/></td>--%>
- <%-- </tr>--%>
- <%-- </table></td>--%>
- <%-- </tr>--%>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>
|