frameset中如何直接跳转至首页(中转页)--window.parent.parent.location.replace

 

之间跳转页(中转页),turnToLogin.jsp

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"
+request.getServerName()+":"+request.getServerPort()+path+"/";
%>



  
    
    
    My JSP 'trunToLogin.jsp' starting page
    
	
	
	    
	
	
	
  
  
  
  


 

 

 

你可能感兴趣的:(经验+注意,javaScript)