in reply to Re^2: Question using HTTP::Request::Common
in thread Question using HTTP::Request::Common

You should reconsider. Let the browser do that.

Otherwise, if you insist on retrieving the server2 page yourself, then you will have to go all the way and be a proper proxy.

  • Comment on Re^3: Question using HTTP::Request::Common

Replies are listed 'Best First'.
Re^4: Question using HTTP::Request::Common
by Becker (Initiate) on Mar 29, 2007 at 19:03 UTC
    I can't reconsider or change this... I need to pass the informations using POST method to a java jsp page belonging to a tool in which codes I can't make changes. This tool is in the server2, and I can't change it.
      Can the user reach server2? If so, rewrite the response so that relative urls point there. It should be enough to add a <base href="http://server2/" /> to the head section.
        Yes, the user can reach server2.

        But I think I don't understand your idea.

        Can you show me how would the script be?

        Thanks.