Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 53165 invoked from network); 13 Sep 2002 19:25:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Sep 2002 19:25:40 -0000 Received: (qmail 11514 invoked by uid 97); 13 Sep 2002 19:25:43 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 11485 invoked by uid 97); 13 Sep 2002 19:25:42 -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 11472 invoked by uid 98); 13 Sep 2002 19:25:41 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: directory listing null through JSP X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Fri, 13 Sep 2002 13:26:18 -0600 Message-ID: <937C569D59958647808DB338926A1D3F58BC25@keystone.Eppendorf-5Prime.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: directory listing null through JSP Thread-Index: AcJbRyDuXHV/d2HRTiOJ4iq4cNjGlgACZwdAAAKjGyA= From: "Rutledge, Aaron" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ah ha! I think I've found the culprit...the catalina.policy file. When = was this snuck into TomCat? Anyway...anyone know how to add a = permission so that TomCat has read access to a network directory? = Thanks! Aaron -----Original Message----- From: Rutledge, Aaron=20 Sent: Friday, September 13, 2002 12:11 PM To: Tomcat Users List (E-mail) Subject: directory listing null through JSP Hi List, I hope I am not double posting--my last e-mail bounced. I am trying to create a JSP page that lists contents on a network = filesystem. I am creating a file object using=20 File dir =3D new File("//FILESERVER/Public_Folder"); and then I want to list all of the files using... File[] children =3D dir.listFiles(); if (children =3D=3D null) {%> Either dir does not exist or is not a directory <%} else { for (int i=3D0; i For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: