title: Spring BindingResult in MVC Controller method
body: <p>Take this part of code for example</p>
  
  <pre><code>@RequestMapping(method=RequestMethod.POST)
  public String addUserFromForm(@Valid User user, BindingResult bindingResult){
      if(bindingResult.hasErrors()){
          return "users/edit";
      }
      userService.saveUser(user);
      return "redirect:/users/"+user.getName();
  }
  </code></pre>
  
  <p>How does the controller's method knows about BindingResult object? Where's that object initialized and passed to the method?</p>