Collections Set form binding wont work in spring mvc?

522 Views Asked by At

Can't we use Set (HashSet, LinkedHashSet) in spring mvc form to model binding ? I have searched through web but couldn't get answer except everyone says, change Set to Map or List. Is this the way spring mvc still works wrt form to model binding? I'm not convinced with changing Set to List or Map since i respect the purpose of it, is there any workaround or resolving mechanism to keep the Set as it is and spring mvc form to model binding works.

0

There are 0 best solutions below