📄 return.jsp
字号:
<%@ page contentType="text/html; charset=gbk"%>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<jsp:useBean id="resultProcess" class="com.kaiwang.template.common.exception.ResultProcess" scope="request"></jsp:useBean>
<html>
<head>
<html:base/>
<title>返回页面</title>
<link REL="StyleSheet" HREF="../css/style.css" TYPE="text/css"/>
</head>
<body style="margin:0;padding:0;background:#ffffff;">
<form>
<table width="100%" height="100%" border="0.2" cellpadding="0" cellspacing="0" align="center" valign="top">
<tr><td height="20%"></td></tr>
<tr>
<td align="" style="padding-bottom:40pt;">
<%if(resultProcess!=null&&resultProcess.cause==null)
{%>
<table id="success" width="401" height="266" border="0" cellpadding="0" cellspacing="0" align="center" background="../images/success.jpg" >
<tr><td height="80px"> </td></tr>
<tr><td height="50px" class="data_succtext" align="left"><%=resultProcess.getDesc()%></td></tr>
<tr><td height="38px"> </td></tr>
<tr><td height="65px"> </td></tr>
<script language="jscript">
setTimeout("returnPage();",2000);
function returnPage(){
document.location ="<%=resultProcess.getReturnLocation()%>";
}
</script>
</table>
<%}else if(resultProcess!=null&&resultProcess.cause!=null)
{%>
<table width="401" height="266" border="0" cellpadding="0" cellspacing="0" align="center" background="../images/error.jpg" >
<tr><td height="80px"> </td></tr>
<tr><td height="50px" class="data_errortext" align="left"><%=resultProcess.getDesc()%></td></tr>
<tr><td height="38px"> </td></tr>
<tr><td height="65px"> </td></tr>
</table>
<script>
timer=setTimeout("history.go(-1)",3000);
</script>
<%}%>
</td>
</tr>
<tr><td height="35%"></td></tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -