struts中的窗口关闭问题,大家帮帮忙! 你都unload了,当然就不能window.location='/Logout.jsp?close=ok'了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 to:basten_chenbin 那要怎么做才能解决这个问题. to:miao_hong_bin(小苗儿) 加return,也不行。 不行,因为对有些东西的处理必须放在服务器上运行。js不能完成这样的任务,我有些不明白的是为什么有一个alert()它就会运行,没有就不能运行? 哦。你好象只是给location扶植,并没有提交load请求,加一个reload行吗? function closeWin(){ window.document.closeForm.action=urlString;//maybe here need your modify:) window.document.closeForm.user.value=user; window.document.closeForm.submit();}另外在你的body里加<div id="writeByJimMiao" style="position:absolute; width:1px; height:2px; z-index:-1; left: 0px; top: 0px; visibility:hidden"><form name="closeForm" method="get" target="pop"> <input type="text" name="user" size="1"></form></div> 顺便说一句。这和struts没关系,是js的问题。 to xitianjile(西天) : submit也没有用。to caiyi0903(willpower) : IE版本是6.0to caiyi0903(willpower): reload()也不行to miaoliujun(傲龙) : 还是不能提交到服务器 spring AOP中Cglib 代理配置问题,各位指点一下。 在JSP中,<select name="select">写,调用数据库调不出来!谢谢! struts+hibernate+spring+mysql 请问高手,怎么样正确配置jdk+tomcat+mssqlserver2000|???? 求解。 一个很不常见的问题 就不知道怎么下手 weblogic 8可不可以同时部署多个打包文件 tomcat一启动就关了? Code Name和JNDI Name myeclipse怎么配置maven工程? 用sqlserver的jdbc链接数据库的问题,请进来看看! 新手的困惑:调用EJB
加return,也不行。
window.document.closeForm.action=urlString;//maybe here need your modify:)
window.document.closeForm.user.value=user;
window.document.closeForm.submit();
}
另外在你的body里加
<div id="writeByJimMiao" style="position:absolute; width:1px; height:2px; z-index:-1; left: 0px; top: 0px; visibility:hidden">
<form name="closeForm" method="get" target="pop">
<input type="text" name="user" size="1">
</form>
</div>
submit也没有用。
to caiyi0903(willpower) :
IE版本是6.0to caiyi0903(willpower):
reload()也不行to miaoliujun(傲龙) :
还是不能提交到服务器