title: Prompt user to select the path for downloading a file java
body: <p>How should we prompt user to select the path for downloading a file in java? Currently, I have provided a default path to store the files. But, how should I allow the user to select the path? I am using JSP and Servlet.
  Once user enters certain data in the JSP and clicks on Generate Report, the user should be prompted a dialog box asking him/her to choose the path.</p>