title: How to read flash attributes after redirection in Spring MVC 3.1?
body: <p>I would like to know how to read a flash attributes after redirection in Spring MVC 3.1.</p>
  
  <p>I have the following code:</p>
  
  <pre><code>@Controller
  @RequestMapping("/foo")
  public class FooController {
  
    @RequestMapping(value = "/bar", method = RequestMethod.GET)
    public ModelAndView handleGet(...) {
      // I want to see my flash attributes here!
    }
  
    @RequestMapping(value = "/bar", method = RequestMethod.POST)
    public ModelAndView handlePost(RedirectAttributes redirectAttrs) {
      redirectAttrs.addFlashAttributes("some", "thing");
      return new ModelAndView().setViewName("redirect:/foo/bar");
    }
  
  }
  </code></pre>
  
  <p>What I am missing?</p>