HI.
Directory Structure is
ROOT/
first/second/
test.jsp
Inside test.jsp i am including one file
i.e.
<% @ include file="../../forth/sixth/includefile.jsp" %>
The included path structure is
ROOT/
forth/sixth/
includefile.jsp
org.apache.jasper.JasperException: /first/second/test.jsp(311,5) File "/first/second/../../forth/sixth/includefile.jsp" not found
If going ROOT & coming to two directory up it is giving problem
plz check this & give solution
Advance thanx
Use
<% @ include file="/forth/sixth/includefile.jsp" %>
.
As I said earlier, give context relative paths, so "/" will go to context root,
"/forth" will go to the directory "forth" under context root and "/forth/sixth" will go to the directory "sixth" under "forth" under context root.
cheers,
ram.