Saturday, December 3, 2011

Re: Loading JSON Test Data

If you read my previous post, I stated that you are crossing domains (SOP). That is your issue, hence your return of 0. To get around that, I listed two options at the bottom of my previous reply. That would allow you to reach your server. How you load JSON afterwards is up to you. I also stated two ways to load JSON. If you are familiar with JS Overlay Types then use that.

Regards,

Alfredo

On Sat, Dec 3, 2011 at 9:34 AM, CSchulz <cschulz@acumeta.com> wrote:
I already understand GWT JS Overlay Types. That's not the issue. 

I'm running the php script on a web server online, and I'm running the GWT project from my current machine, so they're not running on the same machine or same network. So I don't think that's the issue either.

Is there a way to just call the json file directly and then parse it? That would be ideal.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HkWcuwxSwVMJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Alfredo Quiroga-Villamil

AOL/Yahoo/Gmail/MSN IM:  lawwton


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment