title: Can I use @Validated and @RequestBody together?
body: <p>I began to study SpringMVC.</p>
  
  <p>This is a method in my Controller.</p>
  
  <pre><code>@ResponseBody
  @RequestMapping(value = "/user/login", method = RequestMethod.POST)
  public Result login(@Validated(UserLoginVaildator.class)
  @RequestBody User user, BindingResult result, HttpSession session,
      HttpServletResponse response, Model model)
  </code></pre>
  
  <p>I want to use JSR-303 validation to vlidate the user.
  And the user is posted by JSON, so I must use <code>@RequstBody</code>.</p>
  
  <p>But there is an exception when I try to use this method.</p>
  
  <pre><code>Errors/BindingResult argument declared without preceding model attribute. 
  Check your handler method signature!
  </code></pre>
  
  <p>I am using spring 3.1.3.RELEASE.</p>
  
  <p>How can I slove this problem?
  Thanks.</p>