Home » jquery » Showing Arraylist values using Struts2 Json and JQuery

Showing Arraylist values using Struts2 Json and JQuery

I am having comment class, I want to show its property values to jsp page using json

Comments.java

ListJson assigning values for comments.java. Here we fetch value of commentList and totalcomments value in our jsp page.

Struts.xml

In Jsp page

Please follow and like us:
error