tags:

views:

249

answers:

0

0 I have a Set with list of objects, i want to iterate this set in s:iterator tag in struts 2 and set one of the property of Object from my jsp page. How can i achieve this?

Sample code: class Employee{ String name; String age; .....getters and setters

}

Set empSet = new HashSet; empSet.add( ...some objects)

In Jsp: i want to set employee name