• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

one to one chat : on?

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • 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,
Siddharth
[ April 16, 2005: Message edited by: Bear Bibeault ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you need to send query string data in your request back.

Eric
 
On top of spaghetti all covered in cheese, there was this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic