之间跳转页(中转页),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>
分享到:
相关推荐
html网页代码源--frameset用法整理.pdf
//alert(window.top.location == self.location); if (window.top.location != self.location) { window.top.tb_show(t, a, g); } else { self.tb_show(t, a, g); } this.blur(); return false; }); }
使用frameset来分割窗口,在顶部的页面中有一个退出选项,点击退出应该跳出这个frameset而不是只是上面的页面变掉...
ff里不能通过对Frame的ID来直接访问 (IE FF都可以直接通过Frame的Name来访问,但是FrameSet不支持name属性) 因此window.parent.full =》window.parent.document.getElementById(“full”); js操作frame详细解说,...
Window对象是客户端javascript最高层对象之一,只要打开浏览器窗口,不管该窗口中是否有打开的网页,当遇到BODY、FRAMESET或FRAME元素时,都会自动建立window对象的实例。另外,该对象的实例也可由window.open()方法...
调用父级中的 aaa的函数 子页面中: ...window.frames对象可以引用iframe里的页面,也可以引用frameset里的页面. 可以这样 window.frames[0].document.getElementById(‘xx'); 可以这样 window.f
Asp.net中Frameset的使用小结
\frameset框架页面加滚动条.doc
在frameset中frame页面读取另一frame页面$.data数据
frameset的应用:编写了几个jsp页面 1.<frameset>:定义一个框架集,它被用来组织多个窗口。每个窗口都是一个独立的html界面。 2.<frameset>有两个参数,cols和rows。cols:列的数目和尺寸。rows:行的...
页面布局frameset frame
NULL 博文链接:https://yuanzhaoliyu-214.iteye.com/blog/781315
主页用 frameset 嵌了两个页面,左侧为菜单栏,可以通过改变 frameset 的 cols 来收缩。别的浏览器正常,但 IE10 却没任何的反应。 代码如下:function hide_show(){if(window.parent.outer_frame.cols==”0,10,*”){...
配置了spring 3.0.5 + hibernate 3.6 + struts 2.2.3 一个简单的frameset 权限跳转静态页面
frameset元素属性
js-frameset 通过div使页面自动分屏,实现与原生frameset一样的功能 在页面加载star-frameset.js即可,会自动查找$(".frameset")进行分屏 原生的frameset使用 <frameset rows="25%,50%,25%"> <frame src=...
javascript代码模块之frameset框架中target的使用
BIRT中JSP Tag的使用 BIRT从2.2开始(最好采用2.2M6及以后版本),提供JSP tag的支持。 现在主要提供了以下5个JSP Tag: 1. viewer --------- 对应 frameset/run 模式,基于Ajax 2. report ---------- 对应 preview...
预载图片,有进度显示,完成以后跳转到新页面,只支持静态页。 History Navigation.mxp 插入一个可设置前进、后退和刷新的按钮。 Sound 2.21.mxp 插入一个声音可设置循环数。 Online Html Editor.mxp 创建一...