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
Lew - 26 Apr 2007 12:27 GMT
> 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
Please do not multipost. It fragments the thread, making it harder to follow,
and causing people potentially to repeat information someone else has already
provided. It becomes a time-waster for the very people you most want to help you.

Signature
Lew