Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 91027 invoked from network); 4 Mar 2005 21:51:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Mar 2005 21:51:46 -0000 Received: (qmail 49868 invoked by uid 500); 4 Mar 2005 21:51:34 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 49850 invoked by uid 500); 4 Mar 2005 21:51:34 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 49836 invoked by uid 99); 4 Mar 2005 21:51:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.unitnet.com (HELO mail.unitnet.com) (66.208.187.170) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 04 Mar 2005 13:51:31 -0800 Received: from BIGBLUE [66.208.187.189] by mail.unitnet.com with ESMTP (SMTPD32-8.05) id A80A20F90244; Fri, 04 Mar 2005 15:50:02 -0600 From: "Randy Paries" To: "'Tomcat Users List'" Subject: Help with tomcat on windoze/nfs Date: Fri, 4 Mar 2005 15:51:18 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcUeYWl3YP80kx5jSCKtwQSF1Luf5QCohVlw In-Reply-To: <42246C59.6060309@cornell.edu> Message-Id: <200503041550112.SM01584@BIGBLUE> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I have the unfortunate opportunity of having to set up tomcat on windoze (sorry I am a linux bigot) I have this servlet that has to run a windows program. (that works fine) I have to create a directory on a NFS mount. In my test servlet, I have this snippet of code(see below) If I do /myservlet?&dir=c:/ (is see it ok) If I do /myservlet?&dir=z:/ (z is a mapped nfs mount, it does not see it) Here is the kicker, I wrote a little class that was basically the same but just a normal Java app, and it see z:/ OK Help??? Thanks =========================================================== //DIR is a param passed in PrintWriter out = null; res.setContentType("text/html"); out = new PrintWriter (res.getOutputStream()); out.println( "looking for dir "+DIR+"
"); File fpath = new File(DIR); out.println("path-->"+fpath.getAbsolutePath()); if ( !fpath.exists() ){ out.println("Does not exist"); }else{ out.println("exist!!!!"); } out.close(); =========================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org