I am developing a chat application using JSP and Servlets. Currently we have reached a stage where the common ie general chat works quite fine using servlet as message transporter
Now we are trying for the one to one chat module in the same.
if you could tell me that is it possible to use SIMULTANEOUSLY :the HTML forms action attribute to call a servlet & make available the page for sending the message continuosly in front of the user as its for a Chat Application.
I have tried using XMLHttpRequest concept which can simultaneously call a server side component and also makes visible HTML page on which the user is currently working.
As i've seen some examples on the internet using this concept but in all of them common thing was that they were only "GETTING" from the server side like the search engines & not posting anything.
So is it possible to use Ajax concept to "POST" on the Serverside as at present i'm not able to even store the messages on the server side which previously got stored.
If you do have another fruitful idea that i could use to send a one to one message without the usage of servlets and using any new concept that you suggest then plz tell.
So please guide me how to approach.
Waiting for your reply.....