代码<%@page language="java" pageEncoding="UTF-8"%>
<%@page import="java.util.List"%>
<%@page import="com.baidu.manageSystem.machineRoom.dto.Users"%>
<%@page import="com.baidu.manageSystem.machineRoom.dto.Employee"%>
<%

Users userCode = (Users)request.getAttribute("userCode");

%>
<html><head><title>正在载入...</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<script language="javascript">  function setSB(v, el) {    var ie5 = (document.all && document.getElementsByTagName);    if (ie5 || document.readyState == "complete")     {      filterEl = el.children[0];      valueEl = el.children[1];      filterEl.style.width = v + "%";      valueEl.innerText = v + "%";    }  }  function fakeProgress(v, el) {
 
    if (v > 100){
window.location.href='/userRights.do?menu=jurisdiction&userCode=?'+userCode;

}
    else     {      setSB(v, el);      window.setTimeout("fakeProgress(" + (++v) + ", document.all['" + el.id + "'])", 20);    }  } </script> 
<body  onload="fakeProgress(0, sb)" topmargin=180 bgcolor=#eeeeee >
<center> 
<form>
<font color=gray> <p align=center style="color: #0085dd; font-family: 宋体; font-szie:12px; line-height: 100%">ERP数据载入中,请稍侯...</p></font>
<span id=sb style="width: 300px">
<div style="filter: Alpha(Opacity=0, FinishOpacity=60, style=1, StartX=0, StartY=0, FinishX=100, FinishY=0); width: 0%; height: 12px; position: absolute; background: #9999ff"></div>
<div style="font-size: 12px; width: 100%; color: #ff3333; font-family: arial; text-align: center"></div></span>
</form>
</center></body></html>
分不够多,也希望高手支招