My fault. Blindly copying stuff rarely helps. I'll correct the tutorial tonight.

Oleg

-----Original Message-----
From: Thorsten Scherler
[mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 12:52
To: [EMAIL PROTECTED]
Subject: ERROR in
http://jakarta.apache.org/commons/httpclient/tutorial.html


Hello group,
I tried the code of the tutorial page (Final Source Code) but there is a
small mistake:

 // We will retry up to 3 times.
            while (statusCode == -1 && attempt < 3; attempt++) {...

}

Should be something like this:
while (statusCode == -1 && attempt < 3) {
            attempt += 1;
...
}

...or should I post a bug?

--
Thorsten Scherler

Tfno: 955 062 627
Email: [EMAIL PROTECTED]



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


***************************************************************************************************
The information in this email is confidential and may be legally privileged.  Access 
to this email by anyone other than the intended addressee is unauthorized.  If you are 
not the intended recipient of this message, any review, disclosure, copying, 
distribution, retention, or any action taken or omitted to be taken in reliance on it 
is prohibited and may be unlawful.  If you are not the intended recipient, please 
reply to or forward a copy of this message to the sender and delete the message, any 
attachments, and any copies thereof from your system.
***************************************************************************************************

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

Reply via email to