判断用户是否在线和实时统计在线人数

上传者: ttwentan | 上传时间: 2014-12-16 00:00:00 | 文件大小: 15KB | 文件类型: rar
本文件好有两个例子,是为了方便下载人员的理解。运用了HTTP会话的监听来实现,还有利用了vector对象的elements()方法。

文件下载

资源详情

[{"title":"( 22 个子文件 15KB ) 判断用户是否在线和实时统计在线人数","children":[{"title":"判断用户是否在线","children":[{"title":"css","children":[{"title":"style.css <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":true},{"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;'> 373B </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"line","children":[{"title":"OnLine.class <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"UserLogOn.class <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"lib","children":null,"spread":false}],"spread":true},{"title":"程序使用说明.txt <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"dologon.jsp <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"line","children":[{"title":"UserLogOn.java <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"OnLine.java <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 967B </span>","children":null,"spread":false},{"title":"myline.jsp <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"实时统计在线人数","children":[{"title":"css","children":[{"title":"style.css <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":true},{"title":"online.jsp <span style='color:#111;'> 2.22KB </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;'> 286B </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"line","children":[{"title":"OnLine.class <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"LogOnNum.class <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"lib","children":null,"spread":false}],"spread":true},{"title":"程序使用说明.txt <span style='color:#111;'> 113B </span>","children":null,"spread":false},{"title":"dologon.jsp <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"line","children":[{"title":"LogOnNum.java <span style='color:#111;'> 855B </span>","children":null,"spread":false},{"title":"OnLine.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 967B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 愿得一人心 :
    学习了,感谢分享
    2018-05-01
  • work_hardly :
    考,我还以为真的是实时呢,你这叫实时?最怕这种标题党
    2017-06-28
  • 赶紧去巡山 :
    十分感谢 分数高……
    2017-01-21
  • ___Change :
    学习了,感谢分享
    2017-01-09
  • luonaibin :
    打开看了一下, 很简单模拟了一下.
    2017-01-06

免责申明

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