Due to performance reasons I had to improve Groovy script to
print results directly to the response object:
{{groovy}}
response.setContentType('application/xml');
response.setCharacterEncoding("UTF-8");
def out=response.getWriter();
try {
 ...
  out.println('<?xml version="1.0" encoding="UTF-8"?>');
  out.println('<certificates>');
...
But now problem is that after that I got additional XWiki HTML even
using ?outputSyntax=plain parameter.

I suspect, I need to end/close response somehow programmatically.

Any hints?
Thanks in advance


_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to