1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <%@ 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/ediCommon.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 }/ediLogin.action';
- </s:if>
- </script>
- <strong><s:property value="exception.message" /></strong>
- </font>
- </td>
- </tr>
- <tr style="height: 1px">
- <td> <br>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>
|