LocalHost and Same Origin Policy Question

124 views
Skip to first unread message

coffeMan

unread,
Oct 3, 2011, 9:55:38 AM10/3/11
to Google Web Toolkit
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? I dont
think it is, but any feedback or guidance would be great.

Thanks

Konstantin Zolotarev

unread,
Oct 4, 2011, 1:26:23 AM10/4/11
to google-we...@googlegroups.com
What browser do you use ?
Is it into debug mode or in production ?

Thomas Broyer

unread,
Oct 4, 2011, 3:28:22 AM10/4/11
to google-we...@googlegroups.com


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.
Reply all
Reply to author
Forward
0 new messages