Does anyone know how to include a file that is not in the same directory or
in a subdirectory of the 'includer' file?
eg
I have the following directories/files
main.jsp
include/afile.jsp
include1/anotherFile.jsp
I have included 'include/afile.jsp' within main.jsp. This works fine.
I want to include anotherFile.jsp in afile.jsp
Among other attempts I tried the following from within afile.jsp
<jsp:include name="../include1/anotherFile.jsp" flush="true"/>
but have had no luck. I get the following error
"Resource /include/../include1/anotherFile.jsp not found"
I cant seem to get the JSP engine to look for a file that is not in the same
directory or a subdirectory of the 'includer' file.
Any tips would be great. Thanks.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets