private List<Agency> departList = new ArrayList<Agency>(); //部门列表
private Map<Integer, List<Agency>> officeMap = new HashMap<Integer, List<Agency>>(); //科室列表,map的键值对应部门id
<s:form action="userInfoAdd?operate=doAddUserInfo" method="post" name="form1" theme="simple" id="formadd">
<s:doubleselect list="departList" listKey="aId" listValue="aName" formName="form1" name="depart"
doubleName="office" doubleList="officeMap.get(aId)" doubleListKey="aId" doubleListValue="aName" theme="simple"/>
</s:form>
注意的点是:1.form一定要有name,id;2.doubleList="officeMap.get(aId),aId对应listKey