struts2中返回页面到一个iframe中显示的方法

来源:互联网 发布:阿里云源码安装php7.1 编辑:程序博客网 时间:2024/05/17 23:08

把struts2返回的页面显示到一个页面指定的iframe中,只需在form中指定target的值为需要显示页面的iframe的名字即可.

如:<form action="actionName" target="你要把页面显示到哪个iframe的名字">....</form>

0 0