http://test1.pbg.com.cn/a.htm:
window.open("http://test1.bgp.com.cn/b.htm");http://test1.bgp.com.cn/b.htm:
location.href="http://test1.pbg.com.cn/c.htm";http://test1.pbg.com.cn/c.htm:
window.opener.location.reload();
window.close();注:a.htm,c.htm同一个域

解决方案 »

  1.   

    其实没有你说得那么复杂
    父页面<input type="button"
    onclick="query_onClick()" value="查询" class="button" name="query">
    //查询合同
    function query_onClick(){
    var args = "help:no;status:no;dialogheight:12;dialogWidth:18;scroll:no;"
    window.showModalDialog('StationCardQuery.jsp',"",args);
    window.location.href="toStart.jsp";
    }子页面只要将查询结果反给list()就可以了
    tostart.jsp读取得list中的信息