struts2返回结果用window.open()打开? 大家好,本人用struts2时有个问题,点击某按钮,触发某一个action,然后返回某一个url。但我想用window.open打开这个url,而不是整个页面跳转到这个url,怎么实现呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 window.open 里面有属性设置 是否重新打开页面 你是说用对话框方式打开?window.showModalDialog("viewSound.action?id="+idStr, "", "dialogWidth:220px; dialogHeight:140px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;scrollbars:no;Resizable=no; "); result到一个页面,然后<script type="text/javascript" charset="UTF-8"> window.open("url","","width=200,height=200");</script> indow.showModalDialog("viewSound.action?id="+idStr, "" 比如struts.xml返回的url是 <result>/WEB-INF/pages/config/a.html</result>,那么怎么把这个a.html和 window.open("url","","width=200,height=200");中的"ur"关联起来呢? 比如struts.xml返回的url是 <result>/WEB-INF/pages/config/a.html</result>,那么怎么把这个a.html和 window.open("url","","width=200,height=200")中的"url"关联起来呢? 我要通过action层,因为可能返回不同的url,所以不能直接写文件路径。应该要拟定一个参数,但我不知怎么把不同的返回结果和window.open(url)中的url关联起来 解决了,我用window.open('abc.action')就解决了,至于跳转到哪个页面就自己在struts.xml里面配置了。 tomcat的Server Status 界面,有两个数据过大说明什么问题? 关于MySQL数据库读取date类型出来格式出现错误的问题 请问该如何在服务器端运行一个exe jstl能否在weblogic中使用? 我用sturts做了一个上传的程序,不知道如何把文件用目录形式在网页里显示出来? 单选按钮 有没有哪位兄弟做过yourpay.com的网上支付借口? 请问在servlet里怎样输出<>&这些字符的编码 多个javabean怎么相互调用? IDEA的小齿轮 请帮忙写一个SQL语句... struts2中<s:textarea>传值的问题
window.open("url","","width=200,height=200");
</script>
window.open("url","","width=200,height=200");中的"ur"关联起来呢?
window.open("url","","width=200,height=200")中的"url"关联起来呢?