]
Sent: Wednesday, August 18, 2004 4:42 AM
To: Commons HttpClient Project
Subject: Re: Response content length is not known
Hi list;
Thanks to michael i generated the wire log. Here it
is. This is the last page where i posted. I did'nt get
the reponsebody. Can anyone explain it.
2004-08-18 10:06
Hi Oleg,
Kalnichevski, Oleg [EMAIL PROTECTED] wrote on
18.08.2004 11:26:10:
HTTP/1.0 200 OK[\r][\n]
Date: Thu, 19 Aug 2004 02:01:34 GMT[\r][\n]
Server: Oracle9iAS (9.0.3.0.0) Containers for J2EE[\r][\n]
Content-Type: text/html[\r][\n]
As you can see the response does not contain a
i fully understand what you had said. But my question
is when i try to post data using a browser (ie) i got
the last page shown on my browser? is there some thing
i miss?
below is the snipplet where i post :
for(int x = 0; x param.size(); x++){
Vector
To: Commons HttpClient Project
Subject: RE: Response content length is not known
Hi Oleg,
Kalnichevski, Oleg [EMAIL PROTECTED] wrote on
18.08.2004 11:26:10:
HTTP/1.0 200 OK[\r][\n]
Date: Thu, 19 Aug 2004 02:01:34 GMT[\r][\n]
Server: Oracle9iAS (9.0.3.0.0) Containers for J2EE[\r][\n]
Content
mercado [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 11:56 AM
To: Commons HttpClient Project
Subject: RE: Response content length is not known
i fully understand what you had said. But my
question
is when i try to post data using a browser (ie) i
got
the last page shown on my
Subject: RE: Response content length is not known
it does'nt show the html
i just got
INFO:
http://203.215.79.212/reg-dir/submitApplication.do
WARN: Response content length is not known
--- Kalnichevski, Oleg
[EMAIL PROTECTED] wrote:
What does post.getResponseBodyAsString() produce?
Oleg
Kalnichevski, Oleg wrote:
The best thing you could do to help solve the problem is to capture the HTTP traffic between the browser and the web server using a traffic analyzer.
Have a look at Ethereal:
http://www.ethereal.com/
You can send us a packet log. (List may refuse large attachments and
Hi Joseph,
Please post a full debug + wire log of the transaction
http://jakarta.apache.org/commons/httpclient/logging.html. This will
give us a better idea of what's happening.
Thanks,
Mike
On Aug 17, 2004, at 8:07 AM, joseph mercado wrote:
HI list;
Im using httpClient-2.0. I trying to
by the way im using jboss. where do i change it here
log4j.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE log4j:configuration SYSTEM log4j.dtd
!--
=
--
!--
--
Hi Joseph,
I'm not a log4j configuration expert, but I think adding something like
the following should work.
appender name=HttpClient class=org.apache.log4j.FileAppender
param name=Append value=false/
param name=File
value=${jboss.server.home.dir}/log/httpclientwire.log/
layout
Thank michael ill try on this. And let you know what
happened.
--- Michael Becke [EMAIL PROTECTED] wrote:
Hi Joseph,
I'm not a log4j configuration expert, but I think
adding something like
the following should work.
appender name=HttpClient
class=org.apache.log4j.FileAppender
Hi list;
Thanks to michael i generated the wire log. Here it
is. This is the last page where i posted. I did'nt get
the reponsebody. Can anyone explain it.
2004-08-18 10:06:07,686 DEBUG
[org.apache.commons.httpclient.HttpMethodBase] Should
force-close connection.
2004-08-18 10:06:07,686 DEBUG
12 matches
Mail list logo