H
harry
In my servlet I want to somehow open another URL, retrieve the entire HTML
code from it as text, change it a bit then serve this back to the browser -
Something like -
StringBuffer buf = new StringBuffer();
buf.append(openPage(http://www.test.co.uk/defaulthtml.htm)); //
openPage() just made that up - what would I use?
// manipulate the buf contents a bit here - don't ask why!
// write buf.toString() as the response
Is this possible?
many thanks & hope I've made some sense!
harry
code from it as text, change it a bit then serve this back to the browser -
Something like -
StringBuffer buf = new StringBuffer();
buf.append(openPage(http://www.test.co.uk/defaulthtml.htm)); //
openPage() just made that up - what would I use?
// manipulate the buf contents a bit here - don't ask why!
// write buf.toString() as the response
Is this possible?
many thanks & hope I've made some sense!
harry