There is also $context.setFinished(true) which is even better because
this way there is not even a getWrite() which could conflict with a
getOutputStream
Ludovic
jeremi joslin wrote:
Hi,
you can add to the URL of the page ?xpage=plain
Jérémi
On 9/10/05, Stephen Schaub <stephen_schaub_88(a)hotmail.com> wrote:
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
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws