Mario wrote:
> Use the java.io.File class to get the contents of a directory:
>
> File myDir = new File("/myPath");
> String[] sFileList = myDir.list();
>
If you need to do recursive listing, or search for particular filenames, you can
use this OpenSource package:
http://www.rule-of-eight.com/components/javafind
It works just like File, above, but it also supplies "listRecursively()".
- Robb
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html