I am trying to develop a chat which is one to one. The problem is it should be get/post based i.e.HTTP based and not socket based. Now, the concept is there are two users. Both have an applet running on their browsers and there is a servlet at the server end. I want to know is there a way through which when one user types a message for another user, the other user who is connected to the servlet using an http protocol comes to know instantly. If any one has attempted this kind of an implementation I would like some inputs regarding how were the thread programmed, how was the identification done etc.