I hope I am posting this question in the right forum.
I have a web application running on tomcat. I want to take a look at the HTTP requests and responses (both header and data). How do I do this ? Is there any add-ons that I can add to the browser that will enable me to do this ? Or is there a way that I can tell tomcat to dump the requests and responses ? I am interested in the data being sent and received, not just the headers.
Thanks so much for responding back. TamperData and LiveHTTPHeaders seem to display only the headers, not the data portion.
What I need is:
If I use PostMethod in my java program to post a request, I want to see this request that I am sending and also the response that I am getting back (both header and data). Is there any way to add a sniffer like tool and bind it to a port to do this job ?
I am unfamiliar with how servlet filters work . Do you think they will do the above job that I need ?