I am trying to execute a Post method.   I keep read time out errors because I 
am not including the "Content Length" request header.  How do I add that 
request header?

-----Original Message-----
From: Ortwin Glück [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 03, 2006 4:34 PM
To: HttpClient Project
Subject: Re: Downloadproblems

You need to download the dependencies as well. Please see 
http://jakarta.apache.org/commons/httpclient/dependencies.html

Gerdes, Tom wrote:
> I am trying to use the commons-httpclient-3.0.jar and running my application 
> and I a getting an error the first time that I try to execute a get method.  
> It is saying that the class org/apache/commons/codec/net/URLCodec is not 
> found.  Where is that class supposed to be if it is not in the 
> commons-httpclient-3.0.jar file.
> 
> Here is my log entry:
> 
> Attempting to contact 
> host...https://miwebcombank.ebanking-services.com/Nubi/signin.asp
> The URI get1: https://miwebcombank.ebanking-services.com/Nubi/signin.aspx     
>          
> Main Exception: java.lang.NoClassDefFoundError: 
> org/apache/commons/codec/net/URLCodec  
> java.lang.NoClassDefFoundError: org/apache/commons/codec/net/URLCodec         
>          
>         at java.lang.Throwable.<init>(Throwable.java:195)                     
>          
>         at java.lang.Error.<init>(Error.java:49)                              
>          
>         at 
> java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:40)         
>         at org.apache.commons.httpclient.URI.decode(URI.java:1766)            
>          
>         at org.apache.commons.httpclient.URI.decode(URI.java:1724)            
>          
>         at org.apache.commons.httpclient.URI.getHost(URI.java:2781)           
>          
>         at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:106)   
>          
>         at 
> org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:276)
>         at 
> org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:217)
>         at 
> org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:88)   
>         at BANKMIJ2.main(BANKMIJ2.java:77)                                    
>          
> 
> -----Original Message-----
> From: Michael Becke [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 03, 2006 3:50 PM
> To: HttpClient Project
> Subject: Re: Downloadproblems
> 
> It was compiled with a 1.3 JDK.
> 
> Mike
> 
> On 1/3/06, Gerdes, Tom <[EMAIL PROTECTED]> wrote:
> 
>>Do you know what level of JDK (1.4, 1.5, etc.) that 
>>commons_httpclient_3.0.jar was created with?
>>
>>-----Original Message-----
>>From: Ortwin Glück [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, January 03, 2006 9:15 AM
>>To: HttpClient Project
>>Subject: Downloadproblems
>>
>>Tom,
>>
>>I can't reproduce this. It downloads okay from mirror.switch.ch.
>>
>>Ortwin Glück
>>
>>PS: Next time please don't reply to an email that is unrelated to your
>>problem but instead create a new one.
>>
>>Gerdes, Tom wrote:
>>
>>>I was trying to download the binary version of httpclient_3.0 from the
>>>httpclient web site and the download get halfway through and stalls.  I
>>>tried to download from several different mirrors with the same result.
>>>Can anyone helo me with this?
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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


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

Reply via email to