On 03/12/2004 06:05 AM mganesh wrote:
Dear folks,
How could i dump HTTP Response and Request headers. Im using Apache 1.3 and Tomcat 4.0 MOD_JK.

Hi Ganesh,
if you are talking client-side, then there is an excellent extension for Firefox browser called HTTP headers. I expect there's something similar for IE as well but I don't recall anything at the mo'.


Server-side, it's easy for request headers - you can getHeaders() to obtain an Enumeration of them. But for the response headers, it's only possible to see what they are if you already know what you are looking for (response.containsHeader()?)

If you look in the archives, someone one mentioned a logging tool that sounded handy. Some sort of snooper it sounded like.


Adam


--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian


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



Reply via email to