difference between contents of view source of a web page and url stream
nandini lagunia
Ranch Hand
Joined: May 05, 2009
Posts: 57
posted
0
Hi,
I am trying to fetch the contents of a web page programmatically by using java.net.URL class. After opening the stream for the url, I am able to read the contents. I am of the opinion that this content should exactly be same as the contents of the page source.
Am I wrong? If yes, then what are the differences between those two contents?