Results 1 to 3 of 3
  1. #1
    abhisolanki94 is offline Member
    Join Date
    Feb 2014
    Posts
    2
    Rep Power
    0

    Default using socket and JSP for web-based chat application

    I am new to JSP !! and I'm developing a web-based chatting system using JSP and socket.

    The problem i am facing is that the sender can send message but on the receiver side we have to manually refresh the page. The sender stays into blocking mode until the receiver refresh its page !
    after that i've implemented auto-refresh on the receiver side and "Connection Refused" exception is generated.
    I know this technique is not optimal , so please guide me regarding this matter.

    Thanks !

  2. #2
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,718
    Rep Power
    5

    Default Re: using socket and JSP for web-based chat application

    Guide you how exactly? Your problem description is very vague at best. You say "socket", are you in fact talking about websockets?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    abhisolanki94 is offline Member
    Join Date
    Feb 2014
    Posts
    2
    Rep Power
    0

    Default Re: using socket and JSP for web-based chat application

    No i am not talking about WebSocket, i've used simple socket programming techniques !!
    Thanks .


    PS: This is my first time on forums, so that is the reason for my vague description ;-)

Similar Threads

  1. A simple TCP Chat-socket problem I think
    By ilumar589 in forum New To Java
    Replies: 9
    Last Post: 04-29-2013, 12:57 PM
  2. TCP socket - chat server
    By Gatsu in forum Networking
    Replies: 1
    Last Post: 03-01-2013, 02:50 PM
  3. TCP Socket Chat-Receive msg on JTextArea
    By sQu3aKy in forum Networking
    Replies: 1
    Last Post: 03-05-2011, 02:30 PM
  4. Using Socket Programming in RMI to create chat application
    By dhaval.rajput.p in forum New To Java
    Replies: 0
    Last Post: 07-14-2009, 06:37 PM
  5. Open Source web based Java Chat application
    By anitha2324 in forum Advanced Java
    Replies: 4
    Last Post: 07-01-2009, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •