永发信息网

我在jsp中加上<s:select>的标签在页面怎么什么内容都不显示了

答案:2  悬赏:80  手机版
解决时间 2021-03-09 05:30
  • 提问者网友:星軌
  • 2021-03-09 01:55
删掉标签之后就显示了

这是错误信息:
ervlet.service() for servlet [jsp] in context with path [/day69] threw exception [tag 'select', field 'list': The requested list key 'custSource' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location]] with root cause
tag 'select', field 'list': The requested list key 'custSource' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location]
最佳答案
  • 五星知识达人网友:行雁书
  • 2021-03-09 03:03
后台有异常
s: 这个是struct的吧

~
~
全部回答
  • 1楼网友:行路难
  • 2021-03-09 04:12
<option value="对应主见id">用户看到的信息</option> 若当前select在表单里,直接提交就可以获取到内容,服务器端以select的name属性接收,就可以接收到当前的对应主见id 用javascript提交也可以
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯