我使用的是chrome浏览器,按照步骤自己连接了html和jsp页面的链接,并且也显示连接成功了。但是html页面却不能获得来自jsp中的数据,并且报错如下错误:
Cannot set property 'selector' of undefined
这是什么原因。

sse(server-sent events)不能让html页面获得jsp中的数据
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- wxgfd 2016-11-22 15:00关注
我的问题已经解决,谢谢大家,里面还有大家经常遇到的问题,比如:““EventSource’s response has a MIME type (“text/html”) that is not “text/event-stream”. Aborting the connection.””等等。点击查看我的解决方案
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报