Multiple Select in Spring 3.0 MVC

后端 未结 4 1014
太阳男子
太阳男子 2020-12-08 01:21

Ok so I\'ve been trying to accomplish multiple selects in Spring MVC for a while and have had no luck.

Basically what I have is a Skill class:

public         


        
4条回答
  •  盖世英雄少女心
    2020-12-08 02:01

    You don't need the custom editors - this is all I do and it copies the values back and forth correctly:

    
        
        
    
    
    Project class:-
    private Set resources;
    

    This is how I add the data in the controller:

    Set resources3 = new HashSet();
    resources3.add("XX");
    

提交回复
热议问题