IE7 issue - cannot download streamed file when Automatic prompting for file downloads is disabled

Posted by Jai ganesh K on Stack Overflow See other posts from Stack Overflow or by Jai ganesh K
Published on 2009-10-23T11:20:15Z Indexed on 2010/03/30 1:03 UTC
Read the original article Hit count: 486

Filed under:
|
|

Hi,

My application is J2EE (JSP/Servlet) based. I encounter an issue when i try to open a new window (pop-up) from JSP and call a Servlet action (e.g. Streamer.do) which streams a PDF file inside that pop-up.

Problem: While IE 7 -> Tools -> Internet Options -> Security -> Custom Level -> Downloads -> Automatic prompting for file downloads is Disabled and while pop-up window get opened, I am unable to download the file (Save/Open prompt is not comming up).

In contrast, when I enable this option, I am able to download. But this option sometimes would be disabled in some environments.

While testing this in Mozilla Firefox 3.0/3/5/IE6 it is working fine without any settings change. When i check it to enable i then get the Save/Open prompt to work correctly.

This should be problem with IE7. Can anybody help us with Javascript or any working settings which doesnt care whether the "Automatic prompting for downloads" option in IE7 is enabled.

Any help in this would be much appreciated.

Regards!

Jai

© Stack Overflow or respective owner

Related posts about ie7

Related posts about JavaScript