views:

29

answers:

1

Hello, Im searching for ideas to solve the following problem:

I'm loading an URL (any for that matter) into an iFrame, and then block (server side) all image tags, o object tags before sending the page to the client.

--
What I was thinking to do is: fetching the URL, and then manipulating the fetched content using a Java library (any recomendation on that matter?). And after that, send the modify content to que client.

Would that be the best approach to solve this problem? suggestions are wellcome :)

A: 

You should try using nekoHtml, which allow you to treat html like xml.

Riduidel