首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

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

2012-09-23 
frameset中如何直接跳转至首页(中转页)--window.parent.parent.location.replace?之间跳转页(中转页),turn

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+"/";%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>  <head>    <base href="<%=basePath%>">        <title>My JSP 'trunToLogin.jsp' starting page</title>    <meta http-equiv="pragma" content="no-cache"><meta http-equiv="cache-control" content="no-cache"><meta http-equiv="expires" content="0">    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"><meta http-equiv="description" content="This is my page"><!--<link rel="stylesheet" type="text/css" href="styles.css">-->  </head>    <body>  </body><script type="text/javascript">window.parent.parent.location.replace("<%=path%>");</script></html>

?

?

?

热点排行