开发者

how to populate Struts 2 UI select tag?

开发者 https://www.devze.com 2023-03-18 19:42 出处:网络
How can I populate Struts 2 UI开发者_StackOverflow社区 select tag? I keep getting the error: tag select, field list: The requested list key roles could not be resolved as a collection/array/map/enum

How can I populate Struts 2 UI开发者_StackOverflow社区 select tag?

I keep getting the error:

tag select, field list: The requested list key roles could not be resolved as a collection/array/map/enumeration/iterator type.


Most likely that would be if your list roles is not initialized ( null ) . Or another reason can be if you have not declared an appropriate getter .

0

精彩评论

暂无评论...
验证码 换一张
取 消