jsp - Prompt user to select the path for downloading a file java -
how should prompt user select path downloading file in java? currently, have provided default path store files. but, how should allow user select path? using jsp , servlet. once user enters data in jsp , clicks on generate report, user should prompted dialog box asking him/her choose path.
the path file downloaded job of client browser, not web application. should write content of file download httpservletresponse
. make sure set content type "application/octet-stream"
in order prompt user downloading file, regardless of client browser.
Comments
Post a Comment