JSP直接调用一个action定向到页面

方法:写function

<script type="text/javascript">
		function mainPas(){
			window.location.href = "/PAS_V1";
		} 
</script>
		
</head>
  <body onLoad=mainPas()>
</body>
原文地址:https://www.cnblogs.com/wujixing/p/5760068.html