websocket推送(兼容低版本的IE浏览器)

上传者: pz0605 | 上传时间: 2021-05-24 11:09:32 | 文件大小: 2.35MB | 文件类型: ZIP
由于websocket只支持IE10及以上版本,故本人专门整个支持IE10以下的demo供大家参考 java版本的demo,可以直接导入运行 需要布署在tomcat7及以上的服务器

文件下载

资源详情

[{"title":"( 24 个子文件 2.35MB ) websocket推送(兼容低版本的IE浏览器)","children":[{"title":"demo01","children":[{"title":"src","children":[{"title":"cn","children":[{"title":"vs9","children":[{"title":"chat","children":[{"title":"socket","children":[{"title":"SocketService.java <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"servlet","children":[{"title":"websocket","children":[{"title":"ChatWebSocketServlet.java <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"listener","children":[{"title":"ServletContextListener.java <span style='color:#111;'> 554B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"WebRoot","children":[{"title":"MyHtml.html <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"cn","children":[{"title":"vs9","children":[{"title":"chat","children":[{"title":"socket","children":[{"title":"SocketService.class <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"SocketService$ThreadClient.class <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"SocketService$Server.class <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":true},{"title":"servlet","children":[{"title":"websocket","children":[{"title":"ChatWebSocketServlet$ChatMessageInbound.class <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"ChatWebSocketServlet.class <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"listener","children":[{"title":"ServletContextListener.class <span style='color:#111;'> 1024B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"catalina.jar <span style='color:#111;'> 1.48MB </span>","children":null,"spread":false},{"title":"tomcat-coyote.jar <span style='color:#111;'> 775.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"media","children":[{"title":"WebSocketMain.swf <span style='color:#111;'> 172.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"jquery.WebSocket.js <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"jquery.js <span style='color:#111;'> 246.95KB </span>","children":null,"spread":false},{"title":"swfobject.js <span style='color:#111;'> 9.98KB </span>","children":null,"spread":false},{"title":"web_socket.js <span style='color:#111;'> 12.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 932B </span>","children":null,"spread":false}],"spread":true},{"title":".mymetadata <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 509B </span>","children":null,"spread":false},{"title":".myeclipse","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • mvcjie :
    资源可以学学
    2020-01-19
  • 太累了10 :
    websocket和其他的一样可以使用,但ie兼容性问题还是没解决
    2019-09-02
  • wumengjie0418 :
    下载完之后,只能下载一次吗
    2018-05-18
  • codemonkey-彭连虎 :
    经过初步测试,ie8和ie9能后前端后台连接成功,且消息能够互相发送。具体还没细看原理。
    2018-01-02
  • I-Sky :
    经测试,可以用使用
    2017-12-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明