I'm generating a report in my application and saving it somewhere in my PC. Now when user clicks on download button a Save as window should open and the file should get written to the specified location with the specified name. I'm able to do writing of file to another file but I'm unable to get the Save as window.
How to download a file from save as window using Java and Javascript?
Sorry! The types of file can be either HTML or PDF or CSV.The content of file is table containing few values and results.
Its a desktop application. Right now I'm saving the file to my hard coded location.After saving if ever user clicks download button,a Save as window should open so that the user can save the five to his specified location.I'm using Java,Spring,Hibernate and JavaScript.