Action 中有一个cateList<NewsCategory>(提供了getter/setter)方法,并且也有NewsCategory 对象类型 newsCate 的 getter和setter 方法,页面 标签是这样写的:
<s:select list="cateList" name="newsCate" headerKey="-1" headerValue="--请选择类别--" listKey="newsCateId" listValue="newsCateName" emptyOption="true" /> 可就是 报我tag 'select', field 'list', name 'newsCate': The requested list key 'cateList' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location]   小弟struts2 是个新手,组长也不大熟悉 在线等解决方案!