Thanks Ulf,
Regarding your second suggestion, that is exactly what I have used in the program, but it does not give the full text ( including headers etc.)
But, I would not like to use some ready made HTTPClient. I would have liked to do the raw Java way.....thanks anyways for your help....
Thanks,