Reputation: 13
I have a list of objects (Java beans) assigned to a session attribute in my action class as follows:
List<NewProfile> profiles = ... ;
session.setAttribute("profiles", profiles);
This profiles
is a list of objects of a class named NewProfile
.
Now I have to retrieve the profiles and iterate through each NewProfile
instance and print the values of their attributes/properties as a table using logic:iterate
.
Suggestions are welcome! Thanks in advance!
Regards Vijay
Upvotes: 0
Views: 2359