[EMAIL PROTECTED] wrote:
In a message dated 1/15/2006 1:06:44 P.M. Eastern Standard Time,
[EMAIL PROTECTED] writes:
Please, please use instructions given in the HttpClient logging guide
and produce a wire/context log of the HTTP session that exhibits the
problem.
I have activated logging, but all the messages go to my monitor. What is
the easiest way to capture the messages in a text file so that I can send them
to you?
Jerry
Jerry,
Just redirect the standard out to a file.
I looked at your code and spotted something that does not look right to me
// Create a PostMethod method instance.
PostMethod method = new PostMethod(url);
NameValuePair[] data = {
new NameValuePair("username", "xxxxxxx"),
new NameValuePair("password", "yyyyyy")
};
You do not seem to be using the 'data' object anywhere in your code.
Make sure you assign these name value pairs to your POST method as form
parameters.
Hope this helps
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]