This is more of a three part question
What I want to do is
1. Show a form to the user through a browser where they would type in the drive and a fully addressable directory for eg: d:\programs\folder1 or /usr/local/folder1.
2. Use servlets to go into this directory. Get the listing of all the files in the directory, and then display this list on the browser.
3. This list should be a hot list to those files and on clicking the files should present them the file. Thus the mime type should be properly determined.
This address could be on a shared drive or fixed drive or in Linux's case a linked drive through Samba.
I am using Tomcat and have a moderate amount of knowledge on servlets.
Thanks for the replies in advance to a very ambiguous question.