Hello all,
  I got this error when using the
getResponseContentLength() function in the getMethod. 

Exception in thread "Thread-1"
java.lang.NoSuchMethodError:
org.apache.commons.httpclient.methods.GetMethod.getResponseContentLength()

The docs state that this function returns  -1 if no
content length is available. Why is the exception
thrown? All the required files are in my class path.
My program works well once the line 

this.fileSize=getMethod.getResponseContentLength();

is not included.

Please note that no compile errors are generated.

Any help is apreciated



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to