Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 64384 invoked from network); 10 Jul 2002 04:16:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Jul 2002 04:16:31 -0000 Received: (qmail 20896 invoked by uid 97); 10 Jul 2002 04:16:46 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 20863 invoked by uid 97); 10 Jul 2002 04:16:45 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 20851 invoked by uid 98); 10 Jul 2002 04:16:44 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <008f01c227c8$a8233fa0$5300a8c0@inspiron2600> From: "Alfian Hadi" To: tomcat-dev@jakarta.apache.org References: <1026273712.15779.ezmlm@jakarta.apache.org> Subject: Include directive in Tomcat4 Date: Wed, 10 Jul 2002 11:17:08 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I am facing problem using include directive in tomcat 4.0.4. Here is the situation: I create a new folder named: test under webapps (webapps/test). The folder test contains two files: - index.jsp - hello.html In index.jsp, this is what I have for the directive: <%@ include file = "/test/hello.html" %> Then I received this error: org.apache.jasper.compiler.CompileException: /index.jsp(3,38) File "/test/hello.html" not found It seems that I cannot use the absolute path for include directive with tomcat. This is just a simple sample. Actually I have a working JSP application that I need to deploy on tomcat 4 and it cannot work because the application use a lot of absolute path for the include directive. Any ideas ? Thanks. - Alfian - -- To unsubscribe, e-mail: For additional commands, e-mail: