How to list files in a directory and make them downloadable
I have a JSP on which Iam displaying a link (eg :Display All Files) which upon clicking calls a struts action class which does a Dir read and does a listing of all the files .
I want to display these files as links and when clicked I want the download window to pop up so that the user can download the file.
Any idea how I can do this in Java ?
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.