Author Login
Post Reply
Hi,
I m practicing AJAX in S2. And in response to my previous mail, Dave replied
> That's what Ajax does (loosely speaking): returns HTML fragments (or data as JSON, XML, etc.). That's the point of it--so you don't have to return entire pages and refresh the entire window.
>
> So, If I want to acknowledge some AJAX request (say, '2 new records has
been added') I just needed the count of how many rows got inserted/updated
successfully or a flag indicating the success or failure of the request.
And for this I m sure I don't need to return a jsp. How can be this done?
through JSON? if yes, can some one point me to some resource to learn using
JSON in S2?
Thanks in advance
ManiKanta