Tomcat is installed in c:\dev\apache-tomcat-5.5.26.
Here is the Host container of the server.xml
<Host name="localhost" appBase="c:/dev/test"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="/" docBase="" debug="2" reloadable="true" crossContext="true">
</Context>
</Host>
In the directory c:\dev\test\ I have the following
jsp:
------- c:\dev\test\test1.jsp ----------
<%="Hello World"%>
------- End file c:\dev\test\test1.jsp ----------
In the directory c:\dev\test\test\ I have the following jsp:
------- c:\dev\test\test\index.jsp ----------
test <br><b><%@ include file="../test1.jsp"%></b><br><br>
------- End file c:\dev\test\test\index.jsp ----------
If I browse to
http://localhost:8080/test/index.jsp I get the error:org.apache.jasper.JasperException: /index.jsp(2,7) File "/../test1.jsp" not found