K
KevinRobinson
Hi,
Can anyone help me with a problem please.
I am using the <%@ include file="/include/amt_header.jsp" %> code to include
a header into a JSP and it works
fine if the file which uses the include statement is in the same folder that
contains the include folder.
The problem is when a file wishes to use the "/include/amt_header.jsp" file
from a different folder.
So for example if my main file is in a folder "cart" and I want to access
the header file contained in the folder "include" then I can't.
I have tried the following but it won't work <%@ include
file="../include/amt_header.jsp" %>.
I am sure there is a siimple solution to this problem but what.
Thanks in Anticipation.
Kevin
Can anyone help me with a problem please.
I am using the <%@ include file="/include/amt_header.jsp" %> code to include
a header into a JSP and it works
fine if the file which uses the include statement is in the same folder that
contains the include folder.
The problem is when a file wishes to use the "/include/amt_header.jsp" file
from a different folder.
So for example if my main file is in a folder "cart" and I want to access
the header file contained in the folder "include" then I can't.
I have tried the following but it won't work <%@ include
file="../include/amt_header.jsp" %>.
I am sure there is a siimple solution to this problem but what.
Thanks in Anticipation.
Kevin