I am having same problem in GWT 1.7. In my application, I need to download file from server to client. So I am directly using file path in window.open as shown below Window.open(“d:\result.xls”,"_self",""); This opens in Firefox as expected however this doesn’t work with IE7. Please let me know if there is any workaround to do this. I need this very urgently. Please help me out in resolving this.
On Sep 3, 12:38 pm, chandrahas koyari <[email protected]> wrote: > Yes you have to create a GWT hyperlink and point it to the resource. > > On Sep 2, 6:28 pm, ALEXEI BARBONI <[email protected]> wrote: > > > > > Hi chandrahas, thanks for the answer > > > I've been out from work last week. > > > Now I have to create a way to the user of my application make adownloadof > > afilethat is in the server. > > I know the exactly location of thefileand its name. > > > But I don't understand how to create a link (would be a GWT Hyperlink) that > > point to myfile. I think this way is easier than to create a servlet. > > > Could anybody give me a little help about? > > > thank you guys again > > > 2009/8/25 chandrahas koyari <[email protected]> > > > > There are two general methods to achieve it > > > 1. Create a link which directly point to that resource (file) > > > 2. Point to a Servlet which respond with afile(by using > > > getResourceAsFile() ) > > > > On Aug 25, 2:50 am, Alexei Telles <[email protected]> wrote: > > > > Hi... > > > > > I need to create a link in my web application where the user will > > > >downloadafilethat is in my server. > > > > > I was searching for something in the web, but I could not find > > > > something about. > > > > > Is there any GWT tool that allow me to develop a link in my > > > > application to make adownloadfrom the server to the client? > > > > > Or another way that you guys use to do? > > > > > Thanks again- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
