Hello everyone,
I tried to search this topic on the internet but couldn't get any proper solution. I want to open a page through my
Servlet and capture response that is received from the server so that I could alter/retrieve the data I get from the response. I am not talking about filtering the data sent from my own servlet but getting the response from other websites.
Any suggested reading would be greatly appreciated.
Basically, I was trying to extract all the hrefs present on a page through FileIO. But that can be tedious process as I had to download the pages before-hand. Is there any other way to do this? Please advice.