You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Leftwich <ro...@leftwich.info> on 2002/09/11 06:56:54 UTC

Empty File.listFiles() in 4.1.10

I am running into a weird problem with obtaining a directory listing under 
Tomcat 4.1.10. The setup is a clean install (via the installer exe) 
of  4.1.10 on W2000 SP2 and j2sdk1.4.0_01. One part of a test webapp (which 
works fine under TC4.0.4 and Resin 2.1.4) uses file.listFiles() to get a 
list of files in a directory. Under TC4.1.10 the listFiles() always returns 
an empty array no matter what valid directory I use. Note that I am using 
the standard startup (i.e. no security) as setup by the installer.

Anyone have any ideas as to why this is happening?

Robert


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>