title: Intellij IDE JSP path resolving
body: <p>I have a servelet called RegisterUser mapped as /register this servelet  includes a jsp file called register.jsp . here is the structure of the project : </p>
  
  <p><a href="https://i.stack.imgur.com/zphYT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zphYT.png" alt="project structure"></a></p>
  
  <p>inside the servelet this code cannot find the jsp file : </p>
  
  <pre><code>        RequestDispatcher view = request.getRequestDispatcher(registerView);
  </code></pre>
  
  <p>and the content of registerView is : </p>
  
  <pre><code>    private static final String registerView = "../web/WEB-INF/views/Register.jsp";
  </code></pre>
  
  <p>It worked fine on eclipse but when I switched to Intellij it shows that the file cannot be found . </p>