[xwiki-devs] How to write xwiki servlet
Hi, I want to write some server side codes for ajax response, anyone can tell me how to do it, is there any documents for that? Thank you very much -- Best wishes, 许凌志(Jame Xu) MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University Department of Computer Science and Technology, Xi’an Jiaotong University
On 06/29/2011 05:57 AM, 许凌志(Jamesxu) wrote:
Hi, I want to write some server side codes for ajax response, anyone can tell me how to do it, is there any documents for that? Thank you very much
For the prototype you can simply put the JSON code in the content of a wiki page and request it with ?xpage=plain&outputSyntax=plain . Later you'll probably switch to using REST. Hope this helps, Marius
-- Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
participants (2)
-
Marius Dumitru Florea -
许凌志(Jamesxu)