How can I map multiple values from select tag in Struts 2?

前端 未结 2 619
情话喂你
情话喂你 2021-01-15 05:11

I have a multi-selection combo in my Struts2 web application. I use the ui-multisection component. When I select and submit values \"1\" and \"2\"

2条回答
  •  暖寄归人
    2021-01-15 05:17

    what should I do for get all value selected ?

    You should make a select tag to accept multiple options. This is done via multiple="true" in struts select tag. Then you interceptor stack is incomplete because multiselect interceptor is missing. You should add to your interceptor stack after fileupload interceptor reference.

提交回复
热议问题