aspose file tools*
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
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: 9303
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Avoiding pop up block when downloading file in internet explorer