请问struts里由action转发到的jsp页面里可以使用两个form吗?
我要在jsp里实现类似<html:select><html:options>的功能,
并且bean里某方法的返回值为Collection类型,并将该集合对应的各个option打印出来。
用<html:select name="form" property="getUsers">
<logic:iterator id="user" name="form" property="getUsers">
<html:option ...>
</logic:iterator>
</html:select>
这种方法对吗?
<html:option value="<bean:write property=..>">这样写是不对的 :(
还有struts里由action转发到的jsp页面里可以使用两个actionForm吗?
请高手指点!谢谢