True. I also discovered that :).

I actually just used one the example files given on the site.

On Wed, Jan 6, 2010 at 10:09 PM, Ken Krugler <[email protected]>wrote:

> You're trying to use HttpClient 3.0 package names with the 4.0 jar.
>
> For example, my imports for using HttpClient 4.0 in the Bixo project are:
>
> import org.apache.http.Header;
> import org.apache.http.HttpEntity;
> import org.apache.http.HttpEntityEnclosingRequest;
> import org.apache.http.HttpHost;
> import org.apache.http.HttpRequest;
> import org.apache.http.HttpResponse;
> import org.apache.http.HttpStatus;
> import org.apache.http.HttpVersion;
> import org.apache.http.NoHttpResponseException;
> import org.apache.http.ProtocolException;
> import org.apache.http.client.HttpRequestRetryHandler;
> import org.apache.http.client.methods.HttpGet;
>
> [snip]
>
>
>  It says not found for following imports :
>>
>> import org.apache.commons.httpclient.HttpClient;
>> import org.apache.commons.httpclient.methods.FileRequestEntity;
>> import org.apache.commons.httpclient.methods.PostMethod;
>> import org.apache.commons.httpclient.methods.RequestEntity;
>>
>
> -- Ken
>
> --------------------------------------------
> <http://ken-blog.krugler.org>
> +1 530-265-2225
>
>
>
>
>
>
> --------------------------------------------
> Ken Krugler
> +1 530-210-6378
> http://bixolabs.com
> e l a s t i c   w e b   m i n i n g
>
>
>
>
>


-- 

Regards,

Ajay Bansal
Expert HRM Professionals
Telfax: +91 22 40033147, Mob: +91 9029002425
[email protected], www.ehrmp.com
LinkedIn Profile : http://www.linkedin.com/in/abansal

Reply via email to