struts2+websocket报错:failed: Error during WebSocket handshake: Unexpected response code:404 ws请求的url规则是这样的:地址+端口+endpoint路径。如果在java文件中定义了端点: 并且在本地8080端口运行,则url为 http://127.0.0.1:8080/echoendpoint