You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shopping/daima/WebRoot/.svn/text-base/ShowRegisterMsg.jsp.svn-base

72 lines
2.2 KiB

<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%
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>
<style type="text/css">
.style1
{
text-align: center;
}
</style>
<script type="text/javascript">
window.onload = function () {
setTimeout(changeTime, 1000);
}
function changeTime() {
var time = document.getElementById("timeout").innerHTML;
time = parseInt(time);
time--;
if (time > 0) {
document.getElementById("timeout").innerHTML = time;
setTimeout(changeTime, 1000);
} else if (time <= 0) {
window.location = "servlet/ShowServlet";
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="490" height="325" border="0" align="center" cellpadding="0" cellspacing="0" background="images/showinfo.png">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td style="text-align: center">
恭喜你,注册成功,<br/>骚年,您现在可以去购物了。
</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="40">&nbsp;</td>
</tr>
<tr>
<td width="50" class="style1">&nbsp;</td>
<td style="text-align: center">
<span id="timeout" style="font-size:14px;color:Red; font-weight:bold">5</span>秒中以后自动返回首页
<a href="index.jsp">返回</a>
<td width="40">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
</div>
</form>
</body>
</html>