就比如我要发帖点发帖会提示我有一个未结的帖子消息通知,使用websocket怎么做的哦?websocket服务端怎么查询数据库?项目用的struts
这个也可以用sse实现,websocket我只用spring websocket实现过