日期:2014-05-18  浏览次数:20639 次

重新登录想返回登录页面的问题
主页面用了frame分为左右两部分,左边为导航栏,点击退出菜单我执行了
<%
        session.invalidate();
        response.sendRedirect( "index.html ");
%>
但只在导航栏显示了登陆页面,框架其它部分没动,请问如何才能完全退出到登陆页面。  



------解决方案--------------------
response.sendRedirect( "1.html ");

然后在1.html里写:
<html>
<script>
top.location = "index.html ";
</script>
</html>