Try setting the ContentType in the response to "application/pdf"
David 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 did not > > 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 Browser working fine but the Standard browser are not.... > > > 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 -~----------~----~----~----~------~----~------~--~---
