Monday, October 3, 2011

Re: Java Servlet and Same Origin Policy question using GWT Request Builder

As long as protocol, domain and port number do not change you wont have a problem regarding same origin policy.If they change you can use JSONPRequstBuilder (requires some changes in your servlet to make it jsonp compliant) or you have to use a reverse proxy to map the external servlet to the domain of your gwt app.

-- J.

--
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/-/2JRhD9LX3hcJ.
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