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]