A sniffer may help in that matter.
I used Ethreal. Its a pain to use it on windows since you cannot catch the packets on the loopback interface.

bill cao wrote:
Thanks, I looked RequestDumperValve, seems to me that
it logs request url
and other info, but you can not retrieve the raw http
request.


----- Original Message ----- From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, August 25, 2006 1:04 AM
Subject: Re: Can Tomcat expose original HTTP request?


Checkout the RequestDumperValve. It should help.

bill cao wrote:
Hi there, see if anyone knows how to do this.
 When a http request is sent to Tomcat, Tomcat
manufactures a
HTTPServletRequest object based on the raw http
request.
HTTPServletRequest has easy method to retrieve the
request information,
but I want to see the original raw request. Is
there a way to have Tomcat
expose or return the orginal http request, i.e.
 GET /server/path/file-name.jsp HTTP/1.1
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1; .NET
CLR 1.1.4322)
Host: localhost
Connection: Keep-Alive
Cookie: JSESSIONID=2e307e3cd554$02Ub$1A


 ---------------------------------
Stay in the know. Pulse on the new Yahoo.com.
Check it out.

---------------------------------------------------------------------
To start a new topic, e-mail:
users@tomcat.apache.org
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to