title: Spring MVC: Open link in new browser window in handler method
body: <p>I have a controller that handle clicking on links. In handler method i have to do something (on db) and open clicked url in new window (something like <strong>_blank</strong> attribute in links). I use "redirect:url", but it redirect of course in the same window. Any ideas ?</p>
  
  <pre><code>@RequestMapping(value = "/open.html")
  public String open(@RequestParam(value="id") Integer id) {
      Link link = linkDAO.get(id);
      linkDAO.click(id);
      return "redirect:"+link.getAddress();
  }
  </code></pre>