title: Adding Path variable changes the view path
body: <p>I have a controller that has the following request mapping</p>
  
  <pre><code>@RequestMapping(value = "/user/{id}", method = RequestMethod.GET)
  public ModelAndView loadUserPage(@PathVariable("id") String id) {
  
      ModelAndView modelAndView = new ModelAndView("editUser.jsp","editUser", new User());
      modelAndView.addObject("activeUser",getActiveUserByID(id));
      return modelAndView;
  }
  </code></pre>
  
  <p>and in my home.jsp, I have a href link as below</p>
  
  <pre><code>&lt;a href="${pageContext.request.contextPath}/user/${eachUser.userId}"&gt;Click Here&lt;/a&gt;
  </code></pre>
  
  <p>But when I click on the above link, the URL directs to localhost:8080/user/1234 (assuming that the user id is 1234) but it throws 404 error saying that the /user/editUser.jsp is not found. I was wondering why the "/user" is appended on to the jsp path? </p>
  
  <p>And I don't hit this issue if I use @RequestParam and change the href URL to "/user?id=${eachUser.userId}". </p>