Hi all, I got started with GWT a while ago and currently trying to get my web app to communicate with a server. The "standard" way to get JSON from server illustrated in the tutorial is to create a servelet. However I already have a server running and I (understandably) don't really want to port the whole server. I have this idea that I will just run the app in development mode (so the ui and javascript comes from the development mode server) and just make my program send requests for Json's to my server (which is running on the same machine) . For some reason, the requests were successful (I configured the server to write the response into terminal), but the app did not receive the response. I made it print a diagnosis message every time the request-Json code is run and it tells me that the response header is 0 and there is no content (response.getText() == ""). In addition, when I compiled the code into production mode, the Json's work perfectly. Is it a conscious design choice to make apps in development mode ignore messages from other server? A bug? Or, most likely, did I make any stupid mistake?
Thanks all, Michael -- 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.
