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

前端 未结 2 622
情话喂你
情话喂你 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:39

    Try changing

    private List listIdSelected = new ArrayList();
    

    to

    private List listIdSelected = new ArrayList();
    

    since your Getters and Setters are like that.

提交回复
热议问题