Hello Sorry to just jump in here. I wanted to ask how to offer a download to user in GWT? Cause the hyperlink control in GWT as far I know can not be a real direct hyperlink to a file on a web server of ftp server! Or I there might be a situation when I want it not to be a direct link so that it might not be without authentication.
Also, how to create a real link in GWT? Say to http://google.com? On Feb 11, 9:46 pm, mbracken <[email protected]> wrote: > I assume you mean the name/location to save the csv file on the > client's local machine. > > If you offer them the file as a download then the browser should > handle giving them the option of Saving/Opening the file and from > there they can choose the location and name. You can't customize > this, but it's good because it'll be consistent to the user and you > don't have to worry about implementing this behavior. > > Fortunately javascript can't control files on a client's machine, > nobody wants a website to be able to push out and changes files on > their machine. So if you're trying to create a custom GWT Widget for > downloading/saving I'm afraid you'll have to let the browser handle > it. > > On Feb 11, 10:53 am, ytbryan <[email protected]> wrote: > > > Hi all, > > > i already created a servlet that make a csv file frommy Resultset and > > save it to a predetermined location. > > > However, i would like the user to choose the location to be stored and > > the name of the csv file. can someone advice me what to do? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
