Proble in jsp:include & <%@ include%>

Hi,I am including this file in ROOT/aaaa/aaaa/test.jsp<%@ include file="../../aaaaa/xxx/abc.jsp" %>But its giving Errorplz help me
[171 byte] By [Anna_DRAa] at [2007-10-2 0:50:55]
# 1
I dont think you can use windows style sperators for the file path. Define the file from the roo path.Thus if abc.jsp lies in root/foo/bar/abc.jsp, use<@include file = "/foo/bar/abc.jsp"%>cheers,ram.
Madathil_Prasada at 2007-7-15 18:01:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

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

Anna_DRAa at 2007-7-15 18:01:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

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.

Madathil_Prasada at 2007-7-15 18:01:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Hi,I used what u given but still it is givingfile not found errorWhat i am doing : i want come out of two directory up & go to two directory insideplz help me
Anna_DRAa at 2007-7-15 18:01:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
If your directory structure for includefile.jsp isROOT-- forth--sixth--includefile.jspmy post should work. Check for typos. Is it forth or fourth.ram.
Madathil_Prasada at 2007-7-15 18:01:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
Hi,I used correct name but still it is giving same proble..Any pther way..Tryed <jsp:include> also, here also giving same problem...Plese check thisThanx in Advance
Anna_DRAa at 2007-7-15 18:01:11 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...