*
The moose likes Struts and the fly likes Avoiding pop up block when downloading file in internet explorer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Avoiding pop up block when downloading file in internet explorer" Watch "Avoiding pop up block when downloading file in internet explorer" New topic
Author

Avoiding pop up block when downloading file in internet explorer

Y Jebin Jebin
Greenhorn

Joined: Feb 17, 2010
Posts: 1
I have written one application in Struts2 .
If i download content through Firefox/chrome browser it is working properly,but when i am going to download in Internet explorer then one popup is coming on top side and saying blocked this site from downloading files to your computer , so after right click on that popup and click on "Download this file" then next time it is not showing any security related popup.... so now i want to avoid that popup without changing any security setting in internet explorer because if i downloading anything from any side it will not showing any security related popup or not blocking that content...I am using InputStream in our config file as
<param name="contentType">application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</param>
<param name="inputName">inputStream</param>
<param name="bufferSize">4096</param>

Any help to solve this problem is really appreciated

Thanks in advance
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

You can't control behavior of a browser from Struts or anything on the server side...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Avoiding pop up block when downloading file in internet explorer
 
Similar Threads
Downloading file
Problem downloading CSV file in Internet Explorer.
regardnig the windows security
Issue: File downloads content not being updated under Windows
CANNOT download file from https in IE 6