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.
72 lines
2.2 KiB
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"> </td>
|
|
<td> </td>
|
|
<td width="40"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50"> </td>
|
|
<td style="text-align: center">
|
|
对不起,你搜索的商品库存为空,我们会尽快上架。
|
|
</td>
|
|
<td width="40"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50"> </td>
|
|
<td> </td>
|
|
<td width="40"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td width="50" class="style1"> </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"> </td>
|
|
</tr>
|
|
</table></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|