<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>提示</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="css/common.css">
<style type="text/css">
body {
text-align: center;
}
#content {
font-size: 15px;
}
</style>
<script language="javascript">
var index = 5;
var t;
function timeStart() {
document.getElementById("second").innerHTML = index;
if (index <= 1) {
var page = document.getElementById("page").value;
if (page) {
if (page == "login.jsp") {
window.parent.location.href = "/projectManageSystem/login";
} else if (page == "index.jsp") {
window.parent.location.href = "/projectManageSystem/index.jsp";
} else {
if (page == "left.jsp") {
parent.frames.leftFrame.location.reload();
window.location.href = "showmenu!showMenus.action?todo=0";
return;
}
window.location.href = page;
}
} else {
history.go(-1);
}
clearTimeout(t);
return;
}
index--;
t = setTimeout("timeStart()", 1000);
}
function goTo() {
var page = document.getElementById("page").value;
if (page) {
if (page == "login.jsp") {
window.parent.location.href = "/projectManageSystem/login";
} else if (page == "index.jsp") {
window.parent.location.href = "/projectManageSystem/index.jsp";
} else {
if (page == "left.jsp") {
parent.frames.leftFrame.location.reload();
window.location.href = "showmenu!showMenus.action?todo=0";
return;
}
window.location.href = page;
}
} else {
78. history.go(-1);
}
}
</script>
</head>
<body οnlοad="timeStart()">
<script>
history.go(1);
</script>
<DIV>
<TABLE height="97%" cellSpacing=0 cellPadding=0 width="99%" border=0>
<TBODY>
<TR
style="BACKGROUND-IMAGE: url(p_w_picpaths/common/bg_header.gif); BACKGROUND-REPEAT: repeat-x"
height=47>
<TD width=10>
<SPAN
style="FLOAT: left; BACKGROUND-IMAGE: url(p_w_picpaths/common/main_hl.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN>
</TD>
<TD>
<SPAN
style="FLOAT: left; BACKGROUND-IMAGE: url(p_w_picpaths/common/main_hl2.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN><SPAN
100. style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; BACKGROUND-IMAGE: url(p_w_picpaths/common/main_hb.gif); PADDING-BOTTOM: 10px; COLOR: white; PADDING-TOP: 10px; BACKGROUND-REPEAT: repeat-x; HEIGHT: 47px; TEXT-ALIGN: center; 0 px: ">
提示界面 </SPAN>
<SPAN
style="FLOAT: left; BACKGROUND-IMAGE: url(p_w_picpaths/common/main_hr.gif); WIDTH: 60px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN>
</TD>
<TD
style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(p_w_picpaths/common/main_rc.gif)"
width=10></TD>
</TR>
<TR>
<TD style="BACKGROUND-IMAGE: url(p_w_picpaths/common/main_ls.gif)">
</TD>
<TD style="COLOR: #566984; BACKGROUND-COLOR: white;"
vAlign="middle" align="center">
<div id="content">
<div style="text-align: center; height: 12px;">
${title}
</div>
<hr color="lightblue" size="1" />
<div align="center" style="height: 50px;">
<br />
${messages}
<span style="font-size: 15px; color: red;"><s:actionerror />
</span>
<input type="hidden" id="page" value="${page}" />
<br />
<br />
<span style="font-size: 12px; color: gray;"> <label
id="second" style="color: red;"></label> 秒后自动跳转,如果浏览器不支持跳转,请
<a href="javascript:void(0);" </span>
</div>
</div>
</TD>
<TD style="BACKGROUND-IMAGE: url(p_w_picpaths/common/main_rs.gif)"></TD>
</TR>
<TR
style="BACKGROUND-IMAGE: url(p_w_picpaths/common/main_fs.gif); BACKGROUND-REPEAT: repeat-x"
height=10>
<TD style="BACKGROUND-IMAGE: url(p_w_picpaths/common/main_lf.gif)"></TD>
<TD style="BACKGROUND-IMAGE: url(p_w_picpaths/common/main_fs.gif)"></TD>
<TD style="BACKGROUND-IMAGE: url(p_w_picpaths/common/main_rf.gif)"></TD>
</TR>
</TBODY>
</TABLE>
</DIV>
</body>
</html>
转载于:https://blog.51cto.com/4045060/761826