title: Adding an attribute to a ModelAndView
body: <p>I'm writing a <code>HandlerInterceptor</code> that needs to insert a certain session-scoped bean into the <code>Model</code>. <code>postHandle</code>'s signature looks like this:</p>
  
  <pre><code>public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception
  </code></pre>
  
  <p><code>ModelAndView</code> has no <code>addAttribute</code> function. How can I add an attribute to a <code>ModelAndView</code> so that I can access it with <code>request.getAttribute</code> inside my views?</p>