<frameset rows="100%" cols="25%,*" FRAMESPACING="3" frameborder="1" borderColor="#C1D1F3" class="frame" id="nav_frameMenu" TOPMARGIN="0" LEFTMARGIN="0"  MARGINHEIGHT="0" MARGINWIDTH="0" >
    <frame name="frame1" src="1.jsp" scrolling="auto" frameBorder="no"/>
    <frame name="frame2" src="2.jsp" scrolling="auto" frameBorder="no"/>
  </frameset>1.jsp中有按钮,点击提交后怎么让2。jsp刷新???

解决方案 »

  1.   

    window.frame2.location='2.jsp';
    thisform.submit ();
      

  2.   

    是放在1.jsp的Function中么??可是不行啊
      

  3.   

    function submit3(){
    window.parent.frame2.location="1.html";
    return true;
    }
      

  4.   

    麻烦你了
    那怎么将Frame1的表单的数据传到frame2呢?
    现在这样提交了用Request.getParameter()不能得到1.jsp中某个表单的值啊?
      

  5.   

    <script language=javascript>
    parent.frame2.location.reload();
    </script>
      

  6.   

    觉得楼上的中<script language=javascript>
    parent.frame2.location.reload();
    </script>