There was this little class somewhere in help.
Obviously needs a little change for getting actual content and piping it
out, but from here - it's not far.
Hope this helps.
/**
* Use if you want to redirect entire page and dump this one.
*/
static class ImportTag extends WebMarku
afaik all you need is a page that looks like this
class rawpage extends webpage {
public rawpage(final pageparameters p) {
add(new label("content", new loadabledetachablemodel() {
public object load() { return database.getmarkup(p.get("pageid")); }
}.setescapemodelstrings(fa