Results 1 to 2 of 2

Thread: redirection

  1. #1
    prashant is offline Member
    Join Date
    Dec 2008
    Rep Power

    Default redirection

    i want to redirect the connection opened in socket at one system to another system.
    so please help me its urgent.

    thank u in advance.

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Rep Power


    Web servers redirect requests by sending a special reply to the client, which tells the client to go to another URL. The client then opens a new connection.

    In your case, you would have to somehow tell the client the address and port of the second server, and the client would then close the current socket and open a new one.

    If you have control over the client, you can code that. Otherwise, it can't be done.

Similar Threads

  1. Output Redirection
    By Sixtease in forum New To Java
    Replies: 8
    Last Post: 12-29-2008, 11:18 AM
  2. diffrent page redirection in struts.
    By rakesh_n_mehta in forum Web Frameworks
    Replies: 0
    Last Post: 12-11-2008, 07:34 AM
  3. JSP redirection script
    By ravian in forum New To Java
    Replies: 1
    Last Post: 01-07-2008, 11:33 AM
  4. redirection in jsp
    By valery in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-06-2007, 09:31 PM
  5. stream redirection
    By Ed in forum New To Java
    Replies: 1
    Last Post: 07-02-2007, 05:34 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