You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/07 00:06:13 UTC
DO NOT REPLY [Bug 14318] New: -
File.list() returns null
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14318>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14318
File.list() returns null
Summary: File.list() returns null
Product: Tomcat 4
Version: 4.1.12
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: pkrishna@learnframe.com
My web application does a File.list() on a specific path pointing to a
directory within the context. This returns null while files reside in the
directory. I have tested this code on WL 6.1 and it works.
Here is the code snippet:
File file = new File(path);
String[] files = file.list();
files should now contain the list of files in the directory but the call
returns null
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>