Hello guys,
I have feature that exports and generates csv using opencsv in vaadin 7. The problem I have is how to get a file location to save a file on users local machine.
Below is a line that needs a path to where to save a generated file.
CSVWriter writer = new CSVWriter(new FileWriter("H:\\dummy\\export"+timestamp+".csv"));
Instead of having a static file path, I need to prompt the user for where to save a file, as well as how the user wants to name a file.
I appreciate your help.