Save file as - dialog box with dynamic data

Posted by MichaelMcCabe on Stack Overflow See other posts from Stack Overflow or by MichaelMcCabe
Published on 2010-06-16T13:23:22Z Indexed on 2010/06/17 9:43 UTC
Read the original article Hit count: 200

Filed under:

I know that this question is quite common, but its specifics are stumping me.

I have an "export" button which I want to take a load of data generated, create a CSV file, then pop up a Save File As dialog box, to save that file on their local machine.

The name of this file is dynamic, also.

I know how to make the CSV file, but how do I then pop up a box on the client side to let the user download it?

I am using JSP with Struts

© Stack Overflow or respective owner

Related posts about jsp