Reputation: 7
I am working on spring mvc and I want to make some parameters in modelattribute as optional. Ex. We can use @RequestMapping to set optional parameters by required=false. So I need something like this in @modelattribute. I don't want to use RequestParam because I have big list of parameters. Is there any other way ?
Upvotes: 0
Views: 1799