Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Avoiding pop up block when downloading file in internet explorer

 
Y Jebin Jebin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9519
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't control behavior of a browser from Struts or anything on the server side...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic