GeeCON Prague 2014*
The moose likes Servlets and the fly likes User Selection of File from Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "User Selection of File from Server" Watch "User Selection of File from Server" New topic
Author

User Selection of File from Server

David Cowan
Greenhorn

Joined: May 01, 2009
Posts: 17
Hi

I have an application that allows users to upload csv files to the server (that bit works fine ) and I have a servlet that happily loads the csv data into the database. However, their could be mulitple csv files held on the server at different times and I need to be able to display a list of all the files on the server (only in the upload directory of course) to the user and let them select the file they wish to run through the upload program. I have spent hours pouring through my reference books and Google and I keep drawing blanks . Can anyone please (pretty please) point me in the right direction?

Thanks in Advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

Java File I/O will easily allow you to discover what files are in any folder.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: User Selection of File from Server