Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F57FDC1F for ; Tue, 11 Sep 2012 07:13:36 +0000 (UTC) Received: (qmail 14071 invoked by uid 500); 11 Sep 2012 07:13:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 14015 invoked by uid 500); 11 Sep 2012 07:13:32 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 13981 invoked by uid 99); 11 Sep 2012 07:13:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 07:13:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,STOCK_IMG_OUTLOOK X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of casemie@gmail.com designates 209.85.215.173 as permitted sender) Received: from [209.85.215.173] (HELO mail-ey0-f173.google.com) (209.85.215.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 07:13:21 +0000 Received: by eaac13 with SMTP id c13so113613eaa.18 for ; Tue, 11 Sep 2012 00:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:x-mimeole; bh=1lP15DGdrTyi/zIW9/tvYTUzcSYx1ZkwQB2PsRoauRo=; b=AAQbgfQ8MTV21g59DeKcCnzlQ0FZtBKZybK8IpX2GguhXNE+FIPvMjxLxDjB+55Weo yfiUq88VjHMI8xY0CGtm6QPMvQb/koNcL53xk604yDcYcrNvpBAQjDXUyp/Olyd/Nu5H ldgvOKSyNF11gu0wEXgMHaHOau48vgHafqF4zPsD+ScbSOp1F2PiRxPGy16YIxDDPpXF M1xJpA70YFWOZxTtRWI1u5BPUb93AWx04MMmlnTc1v7LLrREGKtBOY1JLnXFTFKrRj8A Lcbo84h3D8VMHl+DJPU6h9z/Z5YuAxJVVkv20z58JTEmAzS7+R9YrSxgaui5Mhne6Lck jIvg== Received: by 10.14.209.5 with SMTP id r5mr22056274eeo.28.1347347580796; Tue, 11 Sep 2012 00:13:00 -0700 (PDT) Received: from IBM38CEEED6078 (adsl-ull-153-188.49-151.net24.it. [151.49.188.153]) by mx.google.com with ESMTPS id z3sm44377649eel.15.2012.09.11.00.12.54 (version=SSLv3 cipher=OTHER); Tue, 11 Sep 2012 00:12:59 -0700 (PDT) From: "IBM partner Gestione Elaboratori" To: Subject: how to read files in file system Date: Tue, 11 Sep 2012 09:12:57 +0200 Message-ID: <3166B2C140B34015B0168E31C2A40757@IBM38CEEED6078> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0081_01CD8FFD.A309AAB0" X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac2P7N6UiTeY4HzaSzSHufb9IkDxJA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 ------=_NextPart_000_0081_01CD8FFD.A309AAB0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0082_01CD8FFD.A309AAB0" ------=_NextPart_001_0082_01CD8FFD.A309AAB0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit With jsp i can read files in the file system only if there are located under the directory webapps//. If I read a file ,for example, in c:/ Tomcats signals an error (se atthachment) How to read files located everywere in the file system? paoloc ------=_NextPart_001_0082_01CD8FFD.A309AAB0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

With jsp i can read files in the file system = only if there are located under the directory = webapps/<application>/<file>.

If I read a file ,for example, in = c:/<filename> Tomcats signals an error (se atthachment)

How to read files located everywere in the = file system?

 

paoloc

 

------=_NextPart_001_0082_01CD8FFD.A309AAB0-- ------=_NextPart_000_0081_01CD8FFD.A309AAB0 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org ------=_NextPart_000_0081_01CD8FFD.A309AAB0--