Reputation: 144
Am a newbie in struts2.How can I Use Json in Sruts2 ?. can any one please provide an example or helpful tutorials to learn.
Thanks .
Upvotes: 1
Views: 1349
Reputation: 23587
Well JSON can be use both way
There are many ways to do this and lots of library out there few of them are
Struts2 comes with its own JSON plugin which is light weight fast and well integrated with Struts2, it is capable enough to send and receive data in both way.
I suggest you to have a look at plugin documentation to see how it can be configured as well can be used with Struts2.
Documentation also includes few example to give you an idea and a start-up.
Upvotes: 3