HTTP Status 500 - tag 'select', field 'list', name 'post.department.depId': The requested list key 'AllDepartment' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location]
原因:
由于我的action执行完又回到当前页面.而当前页面的<s:select list="myList">当页面加载的时候就显示,而我action执行完并没有保存myList,所以这个时候的list是空的,所以could not be resolved as a collection/array/map/enumeration/iterator type.