M
Milan
Guest
I have written Java application that, when user click on the button, it
opens new location in the same window in which it shows new HTML page
and opens new popup window using window.open() JavaScript code. In the
popup window Java outputs PDF using following headers:
ContentType - application/pdf
ContentLength - 1000
Content-Disposition - attachment; filename=My.pdf
With above settings IE8 doesn't show open/save dialog for my PDF. Above
code works fine with IE6, IE7 and Firefox. If I change "attachment" to
"inline", then IE8 shows PDF in the popup window, but this is not what I
want. Tested on two PCs and with Acrobat Reader and Foxit PDF clients.
opens new location in the same window in which it shows new HTML page
and opens new popup window using window.open() JavaScript code. In the
popup window Java outputs PDF using following headers:
ContentType - application/pdf
ContentLength - 1000
Content-Disposition - attachment; filename=My.pdf
With above settings IE8 doesn't show open/save dialog for my PDF. Above
code works fine with IE6, IE7 and Firefox. If I change "attachment" to
"inline", then IE8 shows PDF in the popup window, but this is not what I
want. Tested on two PCs and with Acrobat Reader and Foxit PDF clients.