• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to list directory structure under a file server using java and jsp  RSS feed

 
desi sur
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to list a directory structure under a file server using java and jsp (no applets). Does anybody have a sample code. I also need to store files later (kind of upload) on the file server.

can some experts give me suggestion or sample code.

sur
 
vinay varanasi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried the File.list() option?
you can use the URI constructor for specifying the location of the files on the server.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!