加载页面的显示

Redirect.jsp

 

<%@ page contentType="text/html;charset=UTF-8"%>
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
</head>
<script language="Javascript">
<!--
var url
<% if("/".equals(request.getContextPath())){ %>
url="<%=request.getParameter("url")%>";
  //window.location.replace("<%=request.getParameter("url")%>");
<% }else{ %>
url="<%=request.getContextPath()%>/<%=request.getParameter("url")%>";
  //window.location.replace("<%=request.getContextPath()%>/<%=request.getParameter("url")%>");
<% } %>
onSubmit = function(url){
//window.location.href=url;
}
//-->
</script>
<body οnlοad="onSubmit(url)" bgcolor="#FFFFFF">
<table border=0 bgcolor="#FFFFFF" width="100%" height="100%">
<tr><td align="center" valign="middle">
<table border=0 width="200" height="100"><tr><td>
<jsp:include page="Loading.jsp"  flush="true"/>
</td></tr>
</table>
</td></tr></table>
</body>
</html>

 

Loading.jsp

 

<%@ page contentType="text/html;charset=UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<html>
<head>
<title></title>
<style type="text/css">
<!--
body {
	background:	buttonface;
	font:		MessageBox;
	font:		Message-Box;
}

marquee {
	border:		1px solid ButtonShadow;
	background:	Window;
	height:		12px;
	font-size:	1px;
	margin:		1px;
	width:		147px;
	-moz-binding:	url("marquee-binding.xml#marquee");
	-moz-box-sizing:	border-box;
	display:		block;
	overflow:		hidden;
}

marquee span {
	height:			8px;
	margin:			1px;
	width:			6px;
	background:		Highlight;
	float:			left;
	font-size:		1px;
}

.progressBarHandle-0 {
	filter:		alpha(opacity=20);
	-moz-opacity:	0.20;
}

.progressBarHandle-1 {
	filter:		alpha(opacity=40);
	-moz-opacity:	0.40;
}

.progressBarHandle-2 {
	filter:		alpha(opacity=60);
	-moz-opacity:	0.6;
}

.progressBarHandle-3 {
	filter:		alpha(opacity=80);
	-moz-opacity:	0.8;
}

.progressBarHandle-4 {
	filter:		alpha(opacity=100);
	-moz-opacity:	1;
}
-->
</style>
<script language="javascript">
function loadingStop() {
	try {
		return parent.loadingStop();
	}catch (e) {
		return false;
	}
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%" bgcolor="#ECE9D8" style="border:1px solid #999999;">
  <tr>
    <td align="center" valign="middle">
      <b style="font-size:18px;font-family:Arial">Loading...</b>   
      <html:img imageName="stopLoading" src="img/win_close.gif"  οnclick="javascript:return loadingStop();" style="display:none; cursor:pointer;" alt="Cancel Action"/>
      <br>
      <html:img src='img/LayoutSpacer.gif' height='5'/><br>
<marquee direction="right" scrollamount="8" scrolldelay="100">
	<span class="progressBarHandle-0"></span>
	<span class="progressBarHandle-1"></span>
	<span class="progressBarHandle-2"></span>
	<span class="progressBarHandle-3"></span>
	<span class="progressBarHandle-4"></span>
</marquee>
    </td>
  </tr>
</table>
</body>
</html>

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值