Is there any way for me to get back the HTTP Response Headers using the J2EE framework in the format as given below ? I have a Filter which gets me the Request headers but I want to get the corresponding Response Headers also. Can it be done ?
Do you need to extract the headers to use in your code or you just want to see them? You can attach some tools to intercept the HTTP Request/Response if it is just for debugging.
srinath anand
Ranch Hand
Joined: Nov 20, 2001
Posts: 30
posted
0
I want to see them. I am printing out the request headers right now but I want the corresponding response headers sent by the server to the request headers.
There is a software available for free called Http Look.You can use it to track the request response headers. The url to download it is "http://www.httpsniffer.com/".
Here is your best bet LIveHttpHeaders. Its a firefox extension.
srinath anand
Ranch Hand
Joined: Nov 20, 2001
Posts: 30
posted
0
Thanks for the replies. But I am using IE. Basically I am trying to track a JSESSIONID which is being lost somewhere. Thus I have to do it programatically.
Try 'ethereal', which is a protocol analyzer allowing you not just to look at HTTP messages but loads of other stuff (TCP/ICMP/IPX). Of course, you can filter out those you don't want to see.