title: Spring MVC: Redirect in @ResponseBody
body: <p>I want to redirect to another .jsp in spring mvc method. I don't want to use javascripts methods like: window.location.replace(url).</p>
  
  <p>My method:</p>
  
  <pre><code>@RequestMapping(value= "loginUser", method=RequestMethod.POST)
  public @ResponseBody String loginUser (@RequestParam("name") String name,   @RequestParam("password") String password){ 
  
     return "";
  }
  </code></pre>