回答編集履歴

1

先頭にコメントを追加した。

2015/08/01 14:39

投稿

eripong
eripong

スコア1546

test CHANGED
@@ -1,3 +1,9 @@
1
+ おかしなところ、というか、
2
+
3
+ sessionidをサーバからクライアントに送信していないように見えます。
4
+
5
+
6
+
1
7
  ```lang-java
2
8
 
3
9
  session.getBasicRemote().sendText("{\"command\":\"message\", \"text\": \"" + message.replace("\\", "\\\\").replace("\"", "\\\"") + "\"}");