httpclient3 takes 3 minutes to catch IOException, why so long?

2008-03-24 Thread ever friend
Greeting... I use httpclient3 to communicate with a web server application. when I test an error handling, it takes 3 minutes to catch the IOException (I manually unplug the internet connection). I assumed it takes couple ms to catch IOException since only one line of

httpclient4 app cause serverside-servlet request.getparameter() return null?

2008-03-02 Thread ever friend
Greeting New to httpclient4. Have a problem when I tried to udpate my application from httpclient3.x to httpclient4. I got the error at server side: request.getParameter(paraName) returns null. (serverside is an applicaiton running on Jboss). Here is the code on client side: