[EMAIL PROTECTED] wrote:
I was about to go to the HttpClient API
to see how to read different parts of the header after using GetMethod to
fetch the index.html page. Then I will have to work out how to set the Referer
to the proper value before fetching the logon.htm page.
You don't have to read anything, you just have to set a header on the
second request. You need getMethod.setHeader("Referer", url1);
You don't even need to visit url1 first; url2 can't tell the difference.
-0xe1a
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]