title: difference between redirect and redirect inside modelandview
body: <p>In spring controller class to redirect to a url</p>
  
  <ul>
  <li><p>some places  all using <code>return "redirect:/abc.htm";</code>.</p></li>
  <li><p>also using <code>return new ModelAndView("redirect:/abc.htm")</code>.</p></li>
  </ul>
  
  <p>Any one please explain the difference and similarities of both statements.</p>
  
  <p>And in which situation it has to use.</p>
  
  <hr>
  
  <p>Rohit:</p>
  
  <p>Am using RedirectAttribute to get values from old url.
  In this case am getting value while using this <code>return "redirect:/abc.htm";</code> 
  but not in this  <code>return new ModelAndView("redirect:/abc.htm")</code>.<br>
  Is there any difference in <code>RedirectAttributes</code></p>