Well of cause, i know popup is not a good idea. but i dont really mean as "pop up window". I set the
response.setHeader("Content-disposition", "attachment; filename=\""+filename +".pdf\""); this will instruct the browser to attached the file to the reponse, so that user can download the file.
Why not have a link on the page that just allows the user to right-click on the link and select Save-As, as they would in any browser
I do not want to store the file on my server. I just want to generate the file on-the-fly for the user
Or, just allow the PDF to open, and have the user use the native Save option provided by Adobe/Foxit.
I have thought about this. but my problem is now i cannot even get the PDF to open.. using
response.setHeader("Content-disposition", "inline; filename=\""+filename +".pdf\"");