title: Passing parameters in redirect view Spring MVC
body: <p>I am not able to get how to pass a parameter along with a main url from a controller. I tried like this:</p>
  
  <pre><code>           return new ModelAndView(new RedirectView("home?var=ss", true));
  </code></pre>
  
  <p>But I am getting null value for <strong>var</strong> . What is the correct way?</p>