You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Christophe Lombart <ch...@gmail.com> on 2009/09/09 10:15:39 UTC

SlingPostOperation response

Hi all,

SlingPostOperation returns an HTML Response. What is the best way to
return a custom json structure from a SlingPostOperation  ?
We are using Extjs which required to return a json structure
containing information on the success or failure of the operation.


Thanks,
Christophe

Re: SlingPostOperation response

Posted by Christophe Lombart <ch...@gmail.com>.
We are replacing our SlingPostOperation by a servlet which is almost
the same in our case.


2009/9/9 Christophe Lombart <ch...@gmail.com>:
> Hi all,
>
> SlingPostOperation returns an HTML Response. What is the best way to
> return a custom json structure from a SlingPostOperation  ?
> We are using Extjs which required to return a json structure
> containing information on the success or failure of the operation.
>
>
> Thanks,
> Christophe
>