crossdomain cometd + jetty

4 views
Skip to first unread message

akhval

unread,
Mar 17, 2008, 5:41:06 PM3/17/08
to cometd-users
Looks like crossdomain doesn't work =(

Have tried many different cases - no result =(
The simple case how to reproduce the problem :
take that chat example and modify the dojo.cometd.init() call to
dojox.cometd.init("http://192.168.0.100:8081/cometd"), where the
192.168.0.100 is IP address of the PC. Then try to run chat example
using http://localhost:8081/examples/chat/index.html.

The only one Get request will be sent to the server and that's it.

Do you experience the same problems ?

I'm running dojo+jetty+firefox (everything the latest).

Greg Wilkins

unread,
Mar 28, 2008, 5:55:38 PM3/28/08
to cometd...@googlegroups.com
Hi,

for the demo, the change needs to be to
dojox.cometd.init("http://192.168.0.100:8081/cometd/cometd")

ie the /cometd servlet inside the /cometd context

I'll fix this in the comments

cheers

Reply all
Reply to author
Forward
0 new messages