title: Spring MVC - redirect automatically append JsessionID
body: <p>This is my handler method , if the user attribute in session is not null (He already logged in) forward him to success page , if not, redirect him to login page.</p>
  
  <pre><code>@RequestMapping(value = "/")
  public String showHome(HttpSession session) {
      User user = (User) session.getAttribute("user");
      if (user != null) {
          return "success";
      }
      return "redirect:/login";
  }
  </code></pre>
  
  <p>The problem is , the first time I access my page, it redirect to login page but it automatically append jssessionId at the end of URL like this : "/login;jsessionid=FC75BC999410329E65785274BF0EB623". There is no problem when changing it to return "login".</p>