file download servlet does not work on IE8
posted 13 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi all,
I've created a servlet which allows user to download a generated file (only two types of files: xml and xls). Servlet works perfectly on FF, Chrome, and Opera, but on IE8, when client calls window.open, a new window appears and diaspaears in a moment, just flush. I've done some research and find out that this is a common problem and can be solved by one of the following versions of doGet method. But none of those works with xml and xls files. I'm out of any ideas.
Here are methods found during research, all of them works on commonly used browsers but not on IE8
Do You have any idea?
I've created a servlet which allows user to download a generated file (only two types of files: xml and xls). Servlet works perfectly on FF, Chrome, and Opera, but on IE8, when client calls window.open, a new window appears and diaspaears in a moment, just flush. I've done some research and find out that this is a common problem and can be solved by one of the following versions of doGet method. But none of those works with xml and xls files. I'm out of any ideas.
Here are methods found during research, all of them works on commonly used browsers but not on IE8
Do You have any idea?
posted 13 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Problem solved. It was not a matter of java code, but IE8 safety settings.
"Automatic prompting for file downloads" should be turned on.
"Automatic prompting for file downloads" should be turned on.
posted 12 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Did you got any code solution for this
posted 12 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
It's a client setting - there's nothing the web app can do about it.
chetan kapoor
Greenhorn
Posts: 2
posted 12 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I need to download mostly pdf files client settings is not an option for me.
posted 12 years ago
Then you are out of luck. You cannot override the settings from code.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
chetan kapoor wrote:client settings is not an option for me.
Then you are out of luck. You cannot override the settings from code.
| You can't expect to wield supreme executive power just because Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |













