想实现页面加载后自动提交的效果,但IE不显示进度条了。点击submit按钮可以显示。
window.onload = function() {
document.location = "<html:rewrite page="/vmpsBackup.do"/>";
}</script>
</head>
<body class ="tabletitle">
<html:form method="post" action="/vmpsBackup.do">
<table width="100%" height="100%" border="0">
<tr>
<td height="445" align="middle" valign="center">
<img src="<%=request.getContextPath()%>/jsp/images/ajax-loader.gif" />
<br />
<bean:message key="disp.onload" />
<input type="submit" value='123' />
</td>
</tr>
</table>
</html:form>
</body>
</html>
window.onload = function() {
document.location = "<html:rewrite page="/vmpsBackup.do"/>";
}</script>
</head>
<body class ="tabletitle">
<html:form method="post" action="/vmpsBackup.do">
<table width="100%" height="100%" border="0">
<tr>
<td height="445" align="middle" valign="center">
<img src="<%=request.getContextPath()%>/jsp/images/ajax-loader.gif" />
<br />
<bean:message key="disp.onload" />
<input type="submit" value='123' />
</td>
</tr>
</table>
</html:form>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货