title: how to refer one jsp page on another jsp page?
body: <p>I want to have references on my welcomePage.jsp page to other jsp pages - loginPage.jsp and registerPage.jsp. I tried to use simple   like this:</p>
  
  <pre><code>&lt;head&gt;
  &lt;title&gt;${title}&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;  
    &lt;jsp:include page="header.jsp"/&gt;      
    &lt;jsp:include page="_menu.jsp" /&gt;
  
    &lt;h1&gt;Welcome to the page!&lt;/h1&gt;
    &lt;a href="registerPage.jsp"&gt;Register&lt;/a&gt;           
    &lt;p&gt;or&lt;/p&gt;
    &lt;a href="loginPage.jsp"&gt;Log In&lt;/a&gt;
    &lt;p&gt;if you already have an account&lt;/p&gt;
  
    &lt;jsp:include page="footer.jsp"/&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But I keep getting HTTP Status 404 The requested resource is not available.</p>
  
  <p>I also tried  but as a result the contents of the pages I was referencing too just apperead on this welcomePage. Although I need them to be accessible through links only. 
  All the mentioned files are located in WEB-INF/pages.
  This is my first project with Spring MVC so any help is welcomed.</p>