可以在js中使用
parent.oneFrame.location.replace("要传递的JSP页面路径");parent --该框架页面的父页面
parent.oneFrame--指向frameset中名称为oneFrame的框架如果一个parent找不到可以两个,总之找到oneFrame为止

解决方案 »

  1.   

    请问一下 location.replace是什么意思啊?
    还有就是  我不是要在oneFrame中打开jsp
    我是要把另外一个frame当中的jsp中的一些值传到oneFrame中的asp网页中去
    一直都传不过去值的  
    我现在用的是在jsp页面中加一个按钮,一按这个按钮就调用javascript,top.oneFrame.document.getElementById("niu").value="kkkkkkk";
    但是在asp页面中的<input type="text" id="niu" name="niu" value="ssss"/>的值不变。
    但是如果我另外用一个asp页面,但是这个页面不属于http://10.56.59.3/map/MapFrame.asp这个网站,那么我上面的方法就会传值成功的。
      

  2.   

    提示: javascript:top 对象来取值 top.framse[xxxx] 
      

  3.   

    我觉得只能通过url传值
    不能操作asp的元素
    通过javascript赋给iframe的src:
    http://10.56.59.3/map/MapFrame.asp?参数=XXX
      

  4.   

    location.replace是指把当前frame的定为重定向到另一个页面,你这里就是跳到asp页面中,同时跳到asp页面的过程中可以构造字符串,如 xx.asp?xx参数=xx