title: pageContext.request.contextPath not working
body: <p>I'm using Tomcat 6.0.32 and I'm trying to include a JSP file into another, but somehow the file cannot be found (yes, the file exists). Here is the file structure and code:</p>
  
  <pre><code>&lt;jsp:include page="${pageContext.request.contextPath}/templates/header.jsp"&gt;
  &lt;/jsp:include&gt;
  
  WebContent
  - folder/caller.jsp
  - templates/header.jsp
  </code></pre>
  
  <p>However, if I use ${pageContext.request.contextPath} outside of that to check if it outputs correctly, it works, does anyone know why this is happening?</p>