I just downloaded HttpClient V2.02 yesterday, and tried with the Get Method and it worked beautifully. However, when I moved on to the PostXML.java. Sadly, I could not compile the sample code as my IDE complained about the InputStreamRequestEntity being unresolved. I opened the Commons-Httpclient-2.02.jar, and there is no such class as InputStreamRequestEntity?

What am I missing?  Here is a portion of the PostXML sample code:


import org.apache.commons.httpclient.methods.InputStreamRequestEntity;

 post.setRequestEntity(new InputStreamRequestEntity(
               new FileInputStream(input), input.length()));

Any help is appreciated!

jml

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



Reply via email to