Fon Vitale wrote:
[...]
> I have been searching information about this and I have found examples
> about get data from the server, not to send data to server (JSON
> examples).

It's the same thing. In order to get data from the server, you have to 
send data *to* the server to tell the server what to get!

You want to go and look up the RequestBuilder class:

http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/http/client/RequestBuilder.html

This will allow you to make an HTTP POST call to any URL (subject to 
Javascript security), send any data, and get notified when the response 
comes back. The URL can be a PHP page. You can pass any string as data, 
which will get transmitted to the server as a standard request body.

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "They laughed at Newton. They laughed at Einstein. Of course, they
│ also laughed at Bozo the Clown." --- Carl Sagan

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to