I am writing a Groovy script to run in an XWiki page. It needs to output
binary data (a PDF). I know how to
response.setContentType("application/pdf");
but how do I prevent the XWiki engine from outputting the normal page
header/footer? I want to take total control of the page output. Any tips
would be appreciated!
Stephen