Which software should I use? Some java code would also help.
Upvotes: 0
Views: 439
Reputation: 46783
Use Firebug
(source: getfirebug.com)
Otherwise use Wireshark http://www.wireshark.org/ if you want the swiss army knife of network capture tools.
Upvotes: 2
Reputation: 5582
Upvotes: 0
Reputation: 40052
So many great extensions for Firefox that'll give you that info:
You could also try using the developer tools in Safari or Chrome if you're not a Firefox fan.
If you use IE... why are you using IE? ;-)
Upvotes: 0
Reputation: 611
I don't really understand where do you want to see the traffic. But if what you mean is browser and if you are using Firefox then Firebug will come handy.
Upvotes: 1
Reputation: 45117
You can use Fiddler or if you need to "go deep" (as their web page says), you can use Wireshark.
Upvotes: 3
Reputation: 4143
There are lots of great programs out there that will do this. My answer would really depend on what you are trying to do.
Adding an HTTP proxy that logs requests will easily do the job.
You can also leverage browser plugins such as FireBug and Google's Page Speed to see the requests fly in realtime.
Jacob
Upvotes: 1
Reputation: 16383
Firefox has a great plugin called LiveHTTPHeaders that I think will get you what you are looking for. I'm not positive on the AJAX part of the question, but it's worth a shot. I consider LiveHTTPHeaders to be an indispensable tool for anyone doing web development.
Upvotes: 2