I have been building my website with no problem until I added subfolders to my jsp folder and referenced a JSP in a folder above it.
In adventure_by_dkashtan.jsp:
<jsp:include page="${pageContext.request.contextPath}/WEB-INF/jsp/pageHeader.jsp" flush="true"></jsp:include>
<a href="/djkashtanArtPortfolio/artWorkPage.html" target="_self">
<img src="${pageContext.request.contextPath}/images/artPieces/digitalDrawings/adventure_by_dkashtan.jpg"/>
</a>
<jsp:include page="${pageContext.request.contextPath}/WEB-INF/jsp/pageFooter.jsp" flush="true"></jsp:include>
The error is caused by my reference to pageHeader.jsp in the first line. It works fine when I include pageHeader from JSP files in the same folder as pageHeader.jsp. The file adventure_by_dkashtan.jsp lives in the bottom most folder and the rest live in the jsp folder.
Right now my folder structure looks like this:
webapp
-WEB-INF
--jsp
---artPieces
----digitalDrawings
My page header code:
<html>
<head>
<title>Daniel Kashtan's Art Portfolio</title>
<link rel="stylesheet" href="<c:url value='/css/departments.css'/>" type="text/css" >
</head>
<body>
<h1>Daniel Kashtan's Art Portfolio</h1>
My page footer code:
</body>
</html>