1、 报错:The requested list key 'availableFactorys' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location] 报错定位:struts2 select标签 里的 list="availableFactorys" 原因session里没有放入searchMap 以上报错信息定位时看The request list key "-------"(key后面引号里的内容就是错误位置,原因也有很多种以上只是一种情况,读者需要根据自己的代码解决问题。)
我自己检查了一下,结果是action中没有定义get/set 方法。 |
struts2_jsp画面创建错误整理
最新推荐文章于 2024-08-07 14:30:09 发布