Dear,

I'm developing a jsp/servlet based web application and I'm trying to include
a piece of jsp using the jsp:include tag.

It works find if the included file is in the same directory as the including
file: e.g. <jsp:include page="footer.jsp" flush="true"/>

It works also find if the included file is referenced absolutely (i.e.
relative to the context root): e.g. <jsp:include page="/myapp/footer.jsp"
flush="true"/>

It does NOT work if the included file is referenced relatively and if it is
another directory:e.g. <jsp:include page="../footer.jsp" flush="true"/>!!

When executing the page I get an 'Internal Servlet Error',
'org.apache.jasper.JasperException: Unable to compile class for JSP'.

I'm using Tomcat 3.2 (as included in SUN's Forte for Java CE 3.0 on RedHat
Linux 6.2).

Any help is appreciated!

Dirk Versavel

===========================================================================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to