Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 34420 invoked by uid 500); 4 Sep 2001 07:01:45 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 34413 invoked from network); 4 Sep 2001 07:01:45 -0000 Received: from c007-h000.c007.snv.cp.net (HELO c007.snv.cp.net) (209.228.33.206) by daedalus.apache.org with SMTP; 4 Sep 2001 07:01:45 -0000 Received: (cpmta 8808 invoked from network); 4 Sep 2001 00:01:26 -0700 Received: from dsl-216-227-78-193.telocity.com (HELO potvin) (216.227.78.193) by smtp.telocity.com (209.228.33.206) with SMTP; 4 Sep 2001 00:01:26 -0700 X-Sent: 4 Sep 2001 07:01:26 GMT Message-ID: <007601c1350f$c3fc06a0$0501a8c0@potvin> Reply-To: "Mark" From: "Mark" To: Subject: relative paths Date: Tue, 4 Sep 2001 03:03:55 -0400 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 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am using tomcat 3.2.1 and having trouble with loading images and relative paths. I would like to be able to use something like images/imagename.gif where the images directory will be under TOMCAT_HOME/webapps/MyApp. When I do this I get a 404 error that looks like this: Ctx( /MyApp ): 404 R( /MyApp + /servlet/images + /imagename.gif) null What do I need to do to tell tomcat how to find these images? Thanks, Mark