日期:2014-05-18  浏览次数:20636 次

一个struts标签,第一个贴子没能有结果,只要再来发一个贴子,希望这次能找到答案。
<html:select   property= "groupdeptno ">
<logic:iterate   id= "groupdeptno "   name= "groupdeptno ">

<html:option   value= "???? ">
<bean:write   name= "groupdeptno "   property= "groupname "/>
<bean:write   name= "groupdeptno "   property= "deptname "/>
</html:option>

</logic:iterate>
</html:select>
====
html:option   value= " "     value值我应该怎样写呀?才能取到 <bean:write   name= "groupdeptno "   property= "deptno "/>     中的值呀?

------解决方案--------------------
你写 <html:option value= "${groupdeptno} ">