I'm trying to download file from my JSP. After submitting the form in JAVA code I have put this lines :
response.addHeader("content-disposition", "attachment; filename=TEST.zip");
also I'm sending the file throught PrintWriter, but when I invoke
pw.flush(); the contents of the file is flushed to my browser. Actually I want "Open/Save" dialog to popup.
How to invoke this window?!?!?! How to download file via my JSP?
Thanks in advance!