getContent method of URL connection object
Hi,
I have set up a URL connection to an outside resource inside my servlet.
The URL i am trying to access is returning content of the type "text/html".
However, when i try to look at this html, the getContent() method insists on returning an Object, which cannot be typecast into a string or other object type so i can look at it. How do I access what the external URL is returning in readable html?
Thanks

