📄 attention.jsp
字号:
<%@ page language="java" contentType="text/html; charset=GBK"
pageEncoding="GBK"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page import="com.doone.wskfmgr.common.PageEnum" %>
<html>
<head>
<title>完成操作</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" type="text/css" href="style/main.css"/>
<script language="JavaScript" src="script/ChangeStyle.js"></script>
<style type="text/css" media="all">
div#mytab {
width: 400px;
height: 600px;
overflow: scroll;
}
table#mydiv {
width: 600px;
height: 800px;
}
.style1 {color: #FF0000}
input {width: 100%;}
</style>
</head>
<body>
<%
request.setCharacterEncoding("GBK");
String errorMessage = (String)request.getSession().getAttribute(PageEnum.RESPONSE_PAGE_MSG);
if(errorMessage == null){
errorMessage = "无提示信息";
}else{
request.getSession().removeAttribute(PageEnum.RESPONSE_PAGE_MSG);
}
String srcURL = (String)request.getSession().getAttribute(PageEnum.RETURN_PAGE);
if(srcURL == null){
srcURL = request.getHeader("referer");
}else{
request.getSession().removeAttribute(PageEnum.RETURN_PAGE);
srcURL = request.getContextPath()+srcURL;
}
String AutoCloseMessage = (String)request.getSession().getAttribute(PageEnum.AUTO_CLOSE);
if(AutoCloseMessage != null){
request.getSession().removeAttribute(PageEnum.AUTO_CLOSE);
%>
<script>
window.close();
</script>
<%
}
%>
<div style="height: 5px;"><img src="images/spacer.gif"/></div>
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="InnerTable">
<tr>
<td width="80%" class="OuterHead" style="text-align: left"> <%= errorMessage%>。</td>
<td width="20%"class="OuterHead" style="text-align: left">
<% if(request.getSession().getAttribute(PageEnum.HIDDEN_BTRETURN) == null){%>
<input type="button" class="button" value="返回" onclick="fnRetrun();">
<% }else{ request.getSession().removeAttribute(PageEnum.HIDDEN_BTRETURN); }
if(request.getSession().getAttribute(PageEnum.HIDDEN_BTCLOSE) == null){
%>
<input type="button" class="button" value="关闭" onclick="window.close();"></td>
<% }else{ request.getSession().removeAttribute(PageEnum.HIDDEN_BTCLOSE); } %>
</tr>
</table>
<script>
function fnRetrun(){
window.location.href='<%=srcURL %>';
}
</script>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -