第一,用response.expires不缓存页面。再用top.location.reload()

解决方案 »

  1.   

    我的LEFT还是没有刷新使用JSP清除缓存了,再 out.println("<script>top.location.reload()</script>");还是不行,,必须用鼠标右键点刷新才可以找到session中的内容怎么办
      

  2.   

    <body>
    <script language=jscript>
    function refreshFrame()
    {
    top.frames["leftFrame"].location.reload(true);
    }
    </script>
    main
    <input type="button" value="刷新" onclick="refreshFrame()">
    </body>晕,,按钮可以刷新,,但在JSP中就是不可以。。我晕了。
    out.println("<script>top.frames['leftFrame'].location.reload(true);</script>");