Well Lothar, Actually, when gwt application is resolved to javascript, the url (of servlet) becomes part of the code and thus url could be hacked. That's why I am looking for a client-side solution, or is there a way to secure URL.
Regards, Mahboob On Mon, Dec 8, 2008 at 7:10 PM, Lothar Kimmeringer <[EMAIL PROTECTED]>wrote: > > MAK schrieb: > > > I have created a gwt application to add some items, then the > > application adds the name of the items to a string at client side. If > > a user wants to save the string, how is possible to save that > > information locally in GWT (i.e., into a file -- user selects some > > path from a dialogbox). > > You have to send the data to the server and create a URL the browser > should open (e.g. inside an iframe). With the content-type > application/octet-stream and content-disposition: attachment > the browser should open a save-as-window independent from the > real data residing inside (e.g. a text-file). > > With Javascript/HTML you can't access the local file-system > or open file-related popups. > > > Regards, Lothar > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
