Monday, December 22, 2014

Re: check wallet garden / internet connection

Yes RequestBuilder is not working. The response-code there is always = 0 (same origin policy). 

Today I use as workaround JsonpRequestBuilder and try to receive JavaScriptObjects from "". But there must be a better way to handle this. 
E.g. I want to test a walled garden URL like "" and others to be really sure that the client is inside a walled garden.

Am Montag, 22. Dezember 2014 16:53:18 UTC+1 schrieb Chad Vincent:
1) Walled Garden
2) Any attempt to contact a different server in the javascript will trigger a security warning in most browsers, if not be blocked.  You certainly can try and perform an HTTP request via RequestBuilder, but I wouldn't count on it being reliable.

On Monday, December 22, 2014 3:37:59 AM UTC-6, marian lux wrote:
I need to check if my GWT application is inside a wallet garden (wifi hotspot without internet connection). How to handle this in an easy way on client side?
Is there a way to ping e.g. and return true/false in a method like "boolean isInWalletGarden();" ? Can anyone post such a method?

THX Marian

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment