vivek1612
03-11-2009, 08:30 AM
Hello all,
I have a web page with a link to download an XML file. When the user clicks on the link, the browser displays open/save dialog box. If the user selects 'open' I would like the file to be opened in a new window, overriding the default behavior of the browser. I am using JSP/Struts and I was wondering if there was any way to do this with JavaScript.
Thanks a lot for the help!
I have a web page with a link to download an XML file. When the user clicks on the link, the browser displays open/save dialog box. If the user selects 'open' I would like the file to be opened in a new window, overriding the default behavior of the browser. I am using JSP/Struts and I was wondering if there was any way to do this with JavaScript.
Thanks a lot for the help!