Re: Using Tomcat Websockets with GWT

2013-03-03 Thread Patrick Tucker
You should try using GWT.getHostPageBaseUrl() next time.  It might save you the 
headache of troubleshooting.  Its in the client version, not the shared.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Using Tomcat Websockets with GWT

2013-03-02 Thread Manuel
Hey again,

i solved it.
I used a wrong connection string. It starts from webapp folder in the 
tomcat and directs to my html page:
Chat.connect('ws://' + window.location.host + '/Mash/Mash');


Regards,
Manuel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Using Tomcat Websockets with GWT

2013-03-02 Thread Manuel
Link got lost:
*4) *Implemented the JS-Code from 
here
  
to my html page.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.