There are many download examples, but I could not find them to download. I am using Spring 3.0, and I need to generate some text buffer, and then allow the user to load it as a file. (There is no static resource.)
So far, I have been trying to use @ResponseBody and write to the output stream of the response. In both cases, the browser displays the contents of the "file" instead of displaying the "Save" dialog box. How to make a dialog a browser browser?
Thanks.
source share