title: how to get the object from a redirected view?
body: <p>Im currently using spring mvc, java and annotations.</p>
  
  <pre><code>@RequestMapping(value = "/submitTask", method = RequestMethod.POST)
  public ModelAndView submitTask(HttpSession session, HttpServletRequest request) {
          Map&lt;String, Object&gt; map = new HashMap&lt;String, Object&gt;();
          ModelAndView model = new ModelAndView(new RedirectView("home.html"));
          map.put("email", request.getParameter("email"));
          map.put("task",request.getParameter("task"));
          map.put("error", request.getParameter("error"));
          model.addObject("map", map);
          return model;
  }
  
  @RequestMapping("/home")
   public ModelAndView home(HttpSession session, HttpServletRequest request) {
      ModelAndView model = new ModelAndView("home");
      model.addObject("map", request.getParameter("map"));
      return model;
   }
  </code></pre>
  
  <p>I don't seem to get the value of "map" via "request.getParameter("map")" when i redirected my view to home.html. how can i be able to retrieve it. Thanks</p>