I am using JSP includes in a project and have recently set up my environment on another computer. But now when I serve the project on Tomcat I get the following error:
HTTP Status 500 - java.io.FileNotFoundException: The requested resource (/rootprojectlevel/secure/${param.includeIt}) is not available
The code that I have in my jsp looks like this:
<jsp:include page="sideBar.jspf" >
<jsp:param name="includeIt" value="correspondingmenu.jspf" />
</jsp:include>
In sideBar.jspf I have the following which gets the parameter passed from that first JSP include:
<jsp:include page="${param.includeIt}" />
Maybe the JSP expression language isnt getting evaluated?
This issue only happened after creating my new environment in Eclipse, so maybe something with Tomcat is not configure correctly for JSP's? Or maybe my project path is not included? I've been racking my brain but can't seem to find the answer.