On our website, we have links that when the user clicks on, will display an XML page. I want the user to be able to click on the Save As dialog and save the XML file with the filename that I specify.
I have tried the following but it only works for Firefox but not Internet Explorer:
response.setHeader("Cache-Control", "max-age=0"); response.addHeader("Content-Disposition","inline; filename=" + file.getName());
Is it possible to overcome this problem with IE?
I have tried the following but it only works for Firefox but not Internet Explorer:
response.setHeader("Cache-Control", "max-age=0"); response.addHeader("Content-Disposition","inline; filename=" + file.getName());
Is it possible to overcome this problem with IE?