aspose file tools*
The moose likes Struts and the fly likes How to make the struts2 JSON plugin work on List of custom object? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to make the struts2 JSON plugin work on List of custom object?" Watch "How to make the struts2 JSON plugin work on List of custom object?" New topic
Author

How to make the struts2 JSON plugin work on List of custom object?

Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 186
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 :

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make the struts2 JSON plugin work on List of custom object?