if ("request".equals(mapping.getScope()))
         request.setAttribute(mapping.getAttribute(), form);
       else
         session.setAttribute(mapping.getAttribute(), form);

解决方案 »

  1.   

    不知道你要的是不是这种效果:
    jsp端:
        <td><html:select name="affairForm" property="affairType">
            <html:options collection ="affairTypes" property="typeID" labelProperty="typeName"/>
            </html:select>
        </td>
    action端:
          request.setAttribute ("affairTypes", affairTypes);
      

  2.   

    多重用
    <logic:iterate id="roleBean" name="roles">
    <bean:write name="roleBean" property="description"/>
    </logic:iterate>
    在actionzhong 用 request.setAttribute("roles",你的list.如ArrayList)