Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

browse files on a server and select path to that folder

843836Jul 1 2004 — edited Jul 6 2004
Hello

I am working on a website to be running on apache. We've just added Tomcat 5.0 so we
have access to JSP in addition to Perl.


Basically I need something like the <input type = "file"> control but for browsing files
on the server side. I understand that one can type in the URL of a specific location of
a folder on the server and browse from there. That would work fine except that the in the
end we want to obtain the path to specific files and/or a specific directory, like by
storing the path in a string or putting the path in a textbox like the <input type="file>
control does. Actually as long as we could see the files listed in a particular folder
obtaining just the path to that folder would be just fine. Later well be using the path
to run other programs. No uploading of any kind is required. Based on some of my research
I think that the java.io.File class could be helpful but Im not 100% sure.

Thank you,


bryan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2004
Added on Jul 1 2004
7 comments
940 views