页面自动跳转

<html>
<%
String path=request.getContextPath();
%>
<script type="text/javascript">
function autoGoToProject(){
    window.location.href="<%=path%>/index";
    }
</script>
<!--  -->
<body onload="autoGoToProject();">
</body>
</html>

你可能感兴趣的:(跳转)