I have a simple @Controller class that renders a page after user has logged in:
@Controller
@Controller @SessionAttributes(\"user\") public class DashBoardContr
There is an attribute of @ModelAttribute called binding which you can set to false to disable binding of request parameters. Usage: @ModelAttribute(binding=false) before method parameter.
@ModelAttribute
binding
@ModelAttribute(binding=false)
Reference: click