Using web socket with Tomcat 7

前端 未结 2 1940
北恋
北恋 2021-01-01 00:53

I would like to use web socket, and I started looking to do so with tomcat API. I\'m currently using Tomcat 7.0.37.

I tried to follow the example code from tomcat do

2条回答
  •  执笔经年
    2021-01-01 01:40

    Is your inherited class MessageInbound implementing the Servlet interface? Can you provide the doGet implementation of your ChatWebSocketServlet or the MessageInbound class? Sorry man, your information is incomplete at all...

提交回复
热议问题