I have a bean say “orderHistory” it has a list “order” and order has “orderitem” list. In orderitem list i have 2 props “orederitemno”,”orderitemname”.. Now my iteration is to get “orederitemno”,”orderitemname” in seperate “orederitemnolist”,”orderitemnamelist”…
OrderHistory->Order->OrderItem->”orederitemno”,”orderitemname” then put them in seperate lists… Any suggestion how this can be done…
Simply iterate over each list and store the two properties in two different lists: