Without any code or config it's impossible to diagnose why the JSON plugin
isn't doing it automatically.

Dave

On Mon, Aug 6, 2012 at 7:30 PM, Alvin Chew <alvincks...@gmail.com> wrote:

> Good day,
>
>
> If we have a collection like a list of custom object need to send back to
> page via ajax, do we need to used a json library like GSON to convert the
> list into string and before return from Struts2 since we already have
> return type "json" ?
>
> Between, any chance on sample how to handle a collection turn into json
> before send back to page, when i try that, it give me numbers of empty pair
> "{}" showing in page only.
>
> Thank you !
>



-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits Blog <http://buckybits.blogspot.com/>

Reply via email to