servlets - Open Save Cancel dialogue not coming for IE10 for HTML file -


upto ie 8, if try open attached html file, can see open-save-cancel dialogue. in ie-10, open option not coming. save-cancel coming. removed due kind of security issue? if yes, there workaround fix this?

we using below code open html file - (this might irrelevent same code working fine till ie-8. it's reference)

inputstream in = filetobedisplayed.getbinarystream(); outputstream fr = response.getoutputstream();    response.setheader("content-disposition","attachment;filename="abc.html"); response.setcontenttype("text/html"); int b; while ((b = in.read()) != -1) {   fr.write(b); } in.close();                       fr.flush();                      fr.close();  

for reference : http://social.technet.microsoft.com/forums/ie/en-us/3094ac49-8d49-4a60-a7cf-fb12c823e500/ie9-download-manager-will-not-display-open-option-only-save-and-cancel-is-displayed-for?forum=ieitprocurrentver


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -