• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

one to one chat : on?

Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello sir,
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.....

Thanking you,
[ April 16, 2005: Message edited by: Bear Bibeault ]
Posts: 15385
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you need to send query string data in your request back.

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic