my application is really simple - I just want to return this as result so that it may used by YUI datatable
> { > "totalRecords":288, > "activities": > [ > {"User":"PKDEV168","Title":"Conversation","App":"IMWindow","Duration":0}, > {"User":"PKDEV168","Title":"Conversation","App":"IMWindow","Duration":0}, > {"User":"PKDEV168","Title":"Conversation","App":"IMWindow","Duration":0}, > {"User":"PKDEV168","Title":"Conversation","App":"IMWindow","Duration":0} > ] > } Isn't it anyway that i may get the solution without using any more plugin (i.e the one is mentioned in last email) ? ..alee http://techboard.wordpress.com On Thu, Jan 22, 2009 at 4:27 PM, Lukasz Lenart <lukasz.len...@googlemail.com > wrote: > 2009/1/22 alee amin <mailing.list.mail...@gmail.com>: > > pw.close(); > > That's the problem, you're closing output stream and framework is not > able to do anything. Take a look on JSON Plugin [1] instead building > response by your self. > > [1] http://cwiki.apache.org/S2PLUGINS/json-plugin.html > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >