List<Privilege> privilegeList = privilegeService.findAll(); ActionContext.getContext().put("privilegeList", privilegeList);
<s:checkboxlist name="privilegeIds" list="#privilegeList" listKey="id" listValue="name" > </s:checkboxlist>
原文地址:http://blog.csdn.net/u014010769/article/details/45439071