如何在struts里控制Frame??在Action里导向页面到相应Frame,还有更麻烦的情况,
第一种情况:
LoginAction:
return mapping.findForward("login");
struts-config.xml里的配置:
<forward name="post" path="/Success.jsp"/>
第二种情况,我程序首页里有个刷新消息的东西,用到了bean,做完动作都要求重新
导向到login.do
比如
PostAction最后导向:
return (new ActionForward("/login.do?user.username="+thisuser+"&user.password="+session.getAttribute("password").toString(),true));
现在我把程序的正文放到一个Iframe里了,功能菜单放外面,
现在执行一个操作后,正文就包括了 正文+菜单,
现在我要实现执行操作后,导向的页面为 target="_parent"
请问如何实现呢???
程序是我的毕业设计,代码虽然垃圾,功能都做完了,现在做界面碰到了这个问题,
请指教,分不多了,但肯定给!!!!!
谢谢
具体请看
http://211.87.212.133:8080/2/Login.jsp (id :zlg ps:hanyi)(本地机器,教育网,可能有点慢)
看看Pos New Topic就知道是什么Iframe问题了。
谢谢!!!!