I know this policy will not allow you to communicate with services
that are not in the same domain as your GWT app. I was wondering,
however, if you have the JavaScript/GWT application and its subsequent
services hosted on one domain, but link to the JS/GWT script on
another domain entirely? For example,

The gwt/js app and related services hosted on domain1.com like so:
www.domain1.com/gwt-app/gwt-app.js
www.domain1.com/gwt-app/gwt-service

gwt-app.js will use the service located at www.domain1.com/gwt-app/gwt-service

Have an HTML page in domain2.com at:
www.domain2.com/app-page/apps.html

... which apps.html has a script tag linking to 
www.domain1.com/gwt-app/gwt-app.js

Will apps.html still need to adhere to the same-origin policy?
--~--~---------~--~----~------------~-------~--~----~
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