hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Using Examples Questions - TrivialApp
Date Tue, 01 Apr 2008 19:55:28 GMT

On Tue, 2008-04-01 at 13:43 +0400, kpa@mgr.ru wrote: 
> Hello!
> I'm novice & trying the TrivialApp.java example
> with commons-httpclient-3.1.jar and commons-logging-1.1.1.jar
> and have some problems/questions:
> 1) I MUST add commons-codec-1.3.jar into -classpath param to run
> TrivialApp.class otherwise I have exception,

Yes, Commons Codec is required to run HttpClient

> 2) How to switch-on logging?
> I've used -Dorg.apache.commons.loggin.simplelog.defaultlog=... but
> havn't any log.

Please refer to the Commons Logging documentation for detailed
explanations on the usage of the simple logger

> TrivialApp.class works and shows the page pointed by URL on intranet
> servers.
> My next step - to use NTLM authentication with my proxy and go to
> Internet.
> Should I modify commons-httpclient classes?

There is no need to modify any of the HttpClient classes. You just need
to configure HttpClient appropriately.


Please note, though, HttpClient supports NTLMv1 only. It presently does
not work with NTLMv2.

Hope this helps


> Thanks

To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message