<html:select property="department">
          <html:options collection="departmentSelect"
                        property="value" labelProperty="label" />
</html:select>departmentSelect 是一个list 里面是用来现实的字符串
把它存在session里就可以了
session.setAttribute("departmentSelect", 你的list);

解决方案 »

  1.   

    最好不要放到session中,而应该从request中取出来,
    <html:select property="department">
              <html:options collection="departmentSelect"
                            property="value" labelProperty="label" />collection 对应的可以是map,也可以是个List
      

  2.   

    最好不要放到session中,而应该从request中取出来
    这句话有理 呵collection 对应的可以是map,也可以是个List
    应该是
    collection 对应的可以是Collection 也可以是Iterator  
    也可以是Map 也可以是Enumeration