Hi Jerry,

> PostMethod pmethod = new PostMethod(urlB);
> [...]
> I have tried adding the line:
>  
>  pmethod.addRequestHeader("Referer",urlA);
>  
> after the line:
>  
> pmethod.addParameters(data);
>  
> but that results in a statusCode2 of 405,  "Method Not  Allowed."

"Method not allowed" almost certainly indicates you got the urlB
wrong. Check that URL and make sure it is *exactly* what would
be sent by the browser, including any trailing slash that could
easily be overlooked.

hope that helps,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to