| Author |
How to make the struts2 JSON plugin work on List of custom object?
|
Nakataa Kokuyo
Ranch Hand
Joined: Jul 24, 2011
Posts: 137
|
|
Good day,
I try doing a sample to understand how the Struts2 JSON plugin work and below is my code snippet:
My problem is that, mystring, myStringList are able to display out, but jSONShowList doesn't , it showing two empty pair of {}. I guess the records is being pull out but couldn't display out the result, any clue what did i miss out ?
Code :
JsonDataObject code :
|
 |
 |
|
|
subject: How to make the struts2 JSON plugin work on List of custom object?
|
|
|