1.用window.redirect
2.在JS中用window.settimeout方法。
2.在JS中用window.settimeout方法。
解决方案 »
- 在action中 使用@Resource注解service层 总是得到null
- 网络传对象
- 请教一下
- html使用ajax+cookie session会丢失??改为jsp就可以了-诡异!!!
- 项目登陆有时会出现卡死现象,有经验的朋友请进
- 关于hibernate中id的问题(应该很基础,希望大家指教)
- java socket与 c socket通讯的问题,请教高手,高分相送!!!!!!!!!!!
- jboss-3.0.8_tomcat-4.1.24安装后 tomcat不能正常使用
- SOS applet为什么在浏览器中看不见 再线等待
- 我初学JAVA,在使用ant all命令时,需要build.xml文件,请问该文件是怎么生成的?
- 如何用js来访问axis输出的webservice
- 关于多条记录录入的情况
2.只能记录url
1.整个框架只有mianFrame那部分是动态的,我就是进入不同的页面的时候检查session是否过期,好像跟框架页没关系?
2.好像俺已经搞定了,用out.println("<script>window.setTimeout('history.back()',2000)</script>");
<%
//在这儿判断
%>
<html>
<head>
<title> New Document </title>
</head><frameset rows="120,*">
<frame src="top.jsp" name="logoFrame">
<frameset cols="200,*">
<frame src="tree.jsp" name="menuFrame">
<frame src="main.jsp" name="mainFrame">
</frameset>
</frameset></html>
2.
你的代码可以过两秒钟后返回上一页,不过页面不会刷新
5就是延迟的时间数 5秒
<script>window.setTimeout("top.location='../index.html'",2000)</script>WHW1984(任逍遥),你那个无法脱离原框架的。