You can't access a random URL from javascript, so it will have to be your server that downloads the content of the remote URL.
If you're using a java server, and you're using RPC, then you could have the client send an RPC request to the server that will make the server download the yahoo file and then return the data to the client. HTH Paul On 17/11/11 12:12, webbed wrote:
Hi, I've just spent the past two hours trying to figure out how to do this, but am confused and bamboozled with all the search results. I'm trying to create a web app using GWT. I want it to go to a URL. e.g. http://ichart.finance.yahoo.com/table.csv?s=IBM&d=9&e=11&f=2011&g=d&a=0&b=2&c=1962&ignore=.csv Modify the file contents Allow the user to save the new .csv file to their computer. I'm stuck at step 1: downloading the file. I'm new to GWT, and am not sure where to go from here. I've been reading about RPC, servlets, and other things that have confused me. I've tried coding things up only to find they're not supported. Can someone please point me in the right direction? I would like to know if what I'm trying to do is achievable, and how I should approach the problem.
-- 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.
