On Sat, 2008-11-15 at 06:23 -0800, Angelo Chen wrote:
> Hi,
> 
> Following code does not compile:
> 
> HttpClient client = new HttpClient();
> client.getParams().setParameter("http.useragent", "My Browser");
> looks like getParams not part of HttpClient, but I can see that in code
> complete under Intellij's IDEA
> 
> any idea? thanks

Most likely you have HttpClient 2.x jar on the classpath somewhere. Sort
out classpath settings.

Oleg


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

Reply via email to