<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
.blok form table {
float:left;
padding: 0px;
manager:0px;
width:350px;
}
.blok form table tr td{
float:left;
padding: 0px;
manager:0px;
width: 150px;
}
.blok form table tr td label{
float:right;
padding: 2px, 0px, 0px, 0px;
manager:0px;
font-weight: bold;
}
</style>
<script language="JavaScript">
setTimeout("submitForm.submit();",0);
</script>
<body>
<div style="width:100%; height: 50px;"><input type="text" value="上次执行结果: ${result}" style="width:100%; color: red" readonly="readonly"/></div>
<div class="blok">
<form action="gmtAction.action?command=63" method="post" id = "submitForm">
<table>
<tr>
<td><input name="serverid" value="1" style="display: none" /></td>
</tr>
<tr>
<td><input name="sid" value="1" readonly="readonly"style="display: none" /></td>
</tr>
<tr>
<td><input name="gid" value="1" readonly="readonly"style="display: none" /></td>
</tr>
</table>
</form>
</div>
</body>
</html>
setTimeout("submitForm.submit();",0);
后面的数字是多长时间跳转,单位是毫秒