Hi Michael,
Just read the basic file operations chapter in "The
Complete Reference - Patrick Naughton" book.
Create a File Object with parameter as the specified
directory. Using list() method, you can see the
contents of the directory and also can check whether
it is a directory or a file. If directory, then read
their contents again and go on.
It's very simple and basic java file object operation.
If I am wrong, please inform me.
Poornima Visvesvaran.
--- Michael Weller <[EMAIL PROTECTED]> wrote:
> Hi everybody!
>
> Does anybody have a method that puts out the
> structure of the directories
> that are subdirectory of a specified directory
> (sounds a bit strange).
> Here's an example to clarify what I want:
>
> Specified Directory: docs
>
> Output of the servlet:
>
> docs
> - HTML
> - - SelfHTML
> - - HTML 4.0
> - Java
> - - Specifications
> - - - jai
> - - javadocs
> - - - servlet-api
> - - - jdk1.3 docs
> ...
>
> Hope anybody can help me!
>
> Michael Weller
>
>
___________________________________________________________________________
> 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
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
___________________________________________________________________________
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