Tuesday, October 4, 2011

Re: LocalHost and Same Origin Policy Question



On Monday, October 3, 2011 3:55:38 PM UTC+2, coffeMan wrote:
I set up a java servlet and run it through tomcat.  I set it up on the
same network but just on a different machine.  I am trying to access
that servlet through gwt request builder but keep getting  a
statuscode of 0.  Is this an instance of Same Origin Policy?

Yes.
"Origin" is about scheme+host+port, i.e. http vs. https, host (and not the machine it resolves to: www.google.com and google.com are different hosts; localhost, localhost.localdomain and 127.0.0.1 too), and port.

--
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/-/vCdUvk2QrzEJ.
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