Yeh, i've experienced this issue - the problem lies in the IE8 security settings. If you'd change security settings to trusted zone it works. But of course i can't change settings in all client browsers. So i've ended up with opening a small html file with Window.open() and this html-file redirects then to the csv-file. Clumsy but it works. Let me know if you find a better solution.
On 9 Jul., 15:23, Rafael <[email protected]> wrote: > hey alex.d, > > I have a similar problem with serving a csv file to IE 8. As in, i do > window.open("http://host/blah/file.csv", "_blank","") and it does not > open a new window to the file specified. It does work in FF and > Chrome. > > If i grab the url and manually enter it in address bar of a new window > it gives me a 'save as...' dialog window (which is fine). > > Any ideas??? > > On Jul 9, 8:08 am, "alex.d" <[email protected]> wrote: > > > Nothing strange at all - you can't just read local files from your > > browser. Put your file in the server's public folder (where your html > > and other files are) and get it withhttp://localhost:xxxx/bla/bla/file.pdf > > (or smth. similar ;) > > > On 9 Jul., 09:34, Raul <[email protected]> wrote: > > > > Hello all, > > > > I have a problem with the Window function > > > > Window.open(url, name, features) > > > > I have few PDF files in my hard drive say in (C:/Information), > > > My Server path is C:/Tomcat_Home; > > > I have a PDF file named C:/Information/contacts.pdf > > > > When I tried to open this PDF in a new Browser window using the > > > function > > > Window.open("C:/Information/contacts.pdf", "_blank", ""); > > > the hosted browser with eclipse works fine. > > > > But when I tried the same thing with either Mozilla or IE8, I didnot > > > get any response from the browser. There is no error message in > > > Developer Tools(IE) and Firebug too. > > > > I am unable to find out the exact cause for this. > > > > My Pop up blocker is also turned off... > > > > Hosted Browserworkingfine but the Standard browser arenot.... > > > > Strange..!! > > > > plz put some help...!! > > > > regards > > > raul > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
