title: redirect with model object in spring
body: <p>i need to pass an object into a page that i'm going to redirect</p>
  
  <pre><code>@RequestMapping(value = "/createNewQuest",method={ RequestMethod.GET, RequestMethod.POST })
      public ModelAndView createNewQuest(Quest quest,ModelAndView mav) {
          questService.addQuest(quest);
  
  
          mav.addObject("quest", quest);
          mav.setViewName("redirect:/control/displayQuest");
          return mav;
      }
  </code></pre>
  
  <p>my controller class seems like this but displayQuest page not getting the quest object?</p>
  
  <p>any help wil be greatly appreciabl..</p>