hi,

Please check http://www.roseindia.net/ajax

Thanks

-----Original Message-----
From: ManiKanta G [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2008 3:41 PM
To: Struts-User
Subject: Getting acknowledgment for an AJAX request


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to