Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 74894 invoked from network); 18 Nov 2004 08:57:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Nov 2004 08:57:41 -0000 Received: (qmail 94349 invoked by uid 500); 18 Nov 2004 08:57:37 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 94303 invoked by uid 500); 18 Nov 2004 08:57:37 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 94282 invoked by uid 99); 18 Nov 2004 08:57:36 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of David.Pawson@rnib.org.uk designates 194.128.16.193 as permitted sender) Received: from [194.128.16.193] (HELO maggotts.rnib.org.uk) (194.128.16.193) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 18 Nov 2004 00:57:34 -0800 Received: from localhost (maggotts.rnib.org.uk [127.0.0.1]) by maggotts.rnib.org.uk (8.12.11/8.12.11) with ESMTP id iAI8vQso011177 for ; Thu, 18 Nov 2004 08:57:26 GMT Received: from maggotts.rnib.org.uk ([127.0.0.1]) by localhost (maggotts.rnib.org.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11086-01-4 for ; Thu, 18 Nov 2004 08:57:25 +0000 (GMT) Received: from pbrmsxfe01.ads.rnib.org.uk (pbrmsxfe01.rnib.org.uk [10.254.1.124]) by maggotts.rnib.org.uk (8.12.11/8.12.11) with ESMTP id iAI8q4UM010923 for ; Thu, 18 Nov 2004 08:52:04 GMT Received: from pbrmsx01.ads.rnib.org.uk ([10.1.10.101]) by pbrmsxfe01.ads.rnib.org.uk with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Nov 2004 08:51:57 +0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: RE: File upload and download. solved. Date: Thu, 18 Nov 2004 08:51:56 -0000 Message-ID: <47DFC5E9D8B9E4429C2861946386EA99D98600@pbrmsx01.ads.rnib.org.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: File upload and download. solved. thread-index: AcTMwBPDLVnCoR9lRPupMl0sRS8SYQAAgWbwACJZ3zA= From: "Pawson, David" To: "Jakarta Commons Users List" X-OriginalArrivalTime: 18 Nov 2004 08:51:57.0231 (UTC) FILETIME=[DC1C73F0:01C4CD4B] X-Virus-Scanned: by amavisd-new at rnib.org.uk X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N -----Original Message----- From: Mark Lowe What about System.getProperty("catalina.base") ? or "catalina.home" ? they are passed to the jvm at startup. Works well when incorporated into my tomcat code! String s=System.getProperty("catalina.home"); out.println("catalina.home is "+s); output is correctly the root of the tomcat installation catalina.home is c:\tomcat5028 I can use that to align reads and writes. Many thanks for the help Mark and Jack. regards DaveP -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org