嵌入外部页面发生跳转,导致打开了新窗口,诚恳求解决办法
赶路 2016-08-09 05:23:12 各位大拿,项目需要在页面中嵌入Cognos的报表设计页面,通过iframe的方式嵌入:
<iframe name="iframe1" id="iframe1" width="100%" height="410" >
</iframe>
地址是:http://10.230.146.168:9300/p2pd/servlet/dispatch?b_action=xts.run&m=portal
/launch.xts&ui.gateway=http://10.230.146.168:9300/p2pd/servlet/dispatch&ui.tool=ReportStudio&ui.object=
${reportPath}&ui.action=edit
但嵌入的页面始终在新窗口中打开,最后发现该地址会自动跳转到http://10.230.146.168:9300/p2pd/pat/rsapp.htm,导致打开一个新的页面,而不能实现在框架中打开,请问有大拿有什么方法能实现在iframe中实现页面的跳转吗?而不跳出iframe,或者有其他的外部页面嵌入思路,能实现这种需求。谢了。