JavaScript 页面跳转

   按钮式:

  <INPUT name="pclog" type="button" value="GO" onClick="location.href='http://some location/'">

  链接式:

  <a href="javascript:history.go(-1)">返回上一步</a>

  <a href="<%=Request.ServerVariables("HTTP_REFERER")%>">返回上一步</a>
   
    <%out.println("<a href='some.jsp?para1="+value+"'>This is a link</a>");%>

  直接跳转式:

  <script>window.location.href='http://some location';</script> 

原文地址:https://www.cnblogs.com/sunfeiwto/p/1331172.html