Hello everybody,

i need to use Ajax but i can not generate XML from a velocity script page.
Here is a piece of my script :
{{velocity}}
$response.setContentType('application/xml')
#set ($out = $response.getOutputStream())
$out.write("<?xml version='1.0' encoding='ISO-8859-1'?><test>test</test>")
...
{{/velocity}}

But my responseXML is null.

I suppose that it's not the good way to generate XML from velocity.

Thanks for your help.

M. Canzerini

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

Reply via email to