Hi,
I am new to JSP and I have a another question on include:

My JSP file is in a directory as:
blah/intranet/roundtable/roundtable.jsp

My include file is:
blah/intranet/content/header.inc

I cannot figure out how to set a relative path to include header.inc in
roundtable.jsp.  I would have thought the following would work:
    <%@ include file="../content/header.inc" %>
But it doesn't.

I am using JSWDK but the final product will be deployed on Jakarta's TomCat
server.  I don't think there is a common JSP context for the two servers so
I am reluctant to try setting the path relative to the JSP application's
context (even though I really don't know what that is at this point).

Can anyone help me?

Thanks.

Gayle Westbrook



Gayle Westbrook
[EMAIL PROTECTED]
757.420.7500 x241

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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

Reply via email to