I am developing a Java Web Application using JSF 2.0. Users can upload files. I dont want to store files in project folder. I want to store them in another folder. I store path of files in DB. How can I generate links to users to download file.
Share
You need to create an action method which will read the file from given path and will write it to response,
Also See