Hi,
I'm using Netscape Application Server 4.0 and I'm trying to include an HTML
file into a JSP.

The first problem is that the supposed JSP syntax for includes, either <%@
include file="URL" %> or <jsp:include page="URL" />, don't seem to do
anything. I have to use "ASP-like" syntax: <!--#include file="URL"-->

The second problem, is that the file I want to include is outside the path
/NASApp/ (under which every jsp resides in NAS 4.0), in the area where the
web server (which is Netscape Enterprise Server 3.6) reads the HTML and
image files. The <!--#include--> command works with relative paths, but not
with virtual paths. In ASP you could use <!--#include virtual="URL"--> and
it parsed the URL as a virtual directory in the web server, and mapped it to
the physical path before reading the file; but this doesn't seem to work on
NAS.

So, is it possible to include files from directories outside /NASApp?

Thanks in advance.

JAAC

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to