Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 81101 invoked by uid 500); 29 May 2001 15:50:55 -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 66682 invoked from network); 29 May 2001 15:29:42 -0000 Received: from unknown (HELO zaphod.smartbrief.com) (204.147.141.202) by h31.sny.collab.net with SMTP; 29 May 2001 15:29:42 -0000 Received: (qmail 8788 invoked from network); 29 May 2001 12:29:22 -0400 Received: from unknown (HELO cmcneilly) (192.168.1.106) by zaphod.smartbrief.com with SMTP; 29 May 2001 12:29:22 -0400 From: "Chris McNeilly" To: Subject: Servlets and relative paths Date: Tue, 29 May 2001 11:31:33 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I've got a servlet and am trying to open files. The problem is that its defaulting to the tomcat/bin directory whenever I attempt to refer to them. How can I change this? Hardcoding the path isn't such a good idea as my dev environment is different from production. These are xml and xsl files and they are located on the webroot. Thanks, Chris