无法查看ajax内容

I need to parse a web page that contains some ajax contents also. For that i need ajax contents to be displayed while doing right click and view source. Or, i need the ajax code/content on my program for parsing. I am developing this program in Java.

you can use http://htmlunit.sourceforge.net/ like testing tools supports javascript