当单击按钮代码需要在新选项卡上打开输出时

when click button code require to open output on new tab

我在 windows 中将 apex 18.1 与数据库 11g 一起使用,我的页面具有动态操作,带有以下 Executre java 脚本;

apex.navigation.redirect('localhost:1234/reports/rwservlet? server=servername.&report=myrep.rdf&userid=user/pwd@link&desformat=pdf&destype=cache&paramform=no');

当按下按钮但输出 (.pdf) 在同一个浏览器选项卡中打开时它工作正常,我确实希望它在新选项卡中打开; 请协助。

而不是 apex.navigation.redirect(...),试试 window.open('...','_blank')