• Post Reply Bookmark Topic Watch Topic
  • New Topic

How To Know Other User Comes Online In Chat Application Like Gmail

 
saleem basha
Greenhorn
Posts: 5
C++ Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Eveybody,

I am new to developing chat application using servlets,jms.I have one doubt in developing this web chat app that is when user logged into application i want to show list of users who are online.So,please tell me how to show list of online users in contact list.

Thanks In Advance........
 
Jayesh A Lalwani
Rancher
Posts: 2762
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need Java script running on the browser that periodically polls the server for a list of users logged in. You can either do this with AJAX, or you can continuously refresh an IFrame that shows the lists of users.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!