Results 1 to 3 of 3
  1. #1
    v.ranjith is offline Member
    Join Date
    Jan 2008
    Posts
    2
    Rep Power
    0

    Default Finding out the client who is receiving the response.

    hi all,

    ok my question is

    Once the client logs in, he can add a task to the server from a jsp page. After the task had been added the server is sending a response stating that your task has been added sucessfully and the task id is so and so. Now my reqiurement is i have to find out the user who is adding the task. i mean i have to find out who has added that particular task and to which client the server is sending this response. How can i trace this.

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Location
    Dallas
    Posts
    293
    Rep Power
    10

    Default

    You can have session object of all clients that connect to the the server if it is webclient. Otherwise you can track the client using their ip address (getRemoteAddr() )
    dont worry newbie, we got you covered.

  3. #3
    v.ranjith is offline Member
    Join Date
    Jan 2008
    Posts
    2
    Rep Power
    0

    Default

    thanks.

    this is webclient. so how can i get the information of the client from a session. is there any method specified

Similar Threads

  1. response.setContentType
    By bbq in forum Java Servlet
    Replies: 3
    Last Post: 01-17-2012, 06:37 PM
  2. Receiving UDP pockets
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 08:08 PM
  3. Identify Client in Socket Client Server Application
    By masadjie in forum Networking
    Replies: 1
    Last Post: 12-20-2007, 10:18 AM
  4. Replies: 2
    Last Post: 10-31-2007, 04:55 PM
  5. response.sendRedirect(url)
    By mutuah in forum Advanced Java
    Replies: 2
    Last Post: 08-07-2007, 01:56 PM

Posting Permissions

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