1

websocket java HTML5

websocket = new WebSocket("ws://localhost:8888/WS/websocket");

@ServerEndpoint("/websocket")
public class MyWebSocket

这句报错啊,什么情况
错误:
WebSocket connection to 'ws://localhost:8888/WS/websocket' failed: Error during WebSocket handshake: Unexpected response code: 404

查看全部
swdenglian
swdenglian
2016/03/10 11:42
  • java
  • html5
  • websocket
  • class
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

4个回复