I encounter HttpException: Already used, but not recycled.

From the API doc, the HttpMethod.recycle() is deprecated and no longer
supported. How should I solve this problem?

client = new HttpClient();
HttpMethod method = new GetMethod("http://www.klse-ris.com.my/delaystk-html/stksum.html";);
while (true) {
// can we reuse the method without having to instantiate it each loop?
int status = client.executeMethod(method);
}


Appreciate if you can help me or point me to other resources, thank you!

_________________________________________________________________
Using a handphone prepaid card? Reload your credit online! http://www.msn.com.my/reloadredir/default.asp



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



Reply via email to