treemap

Struts2: Updating the values of a “List Of Objects” inside a Map

爷,独闯天下 提交于 2019-11-26 02:02:36
问题 There is an object ObjectA which has a list of ObjectB . There is a TreeMap inside the ObjectB . This TreeMap has a String as key and a List of another object ObjectC as value. This TreeMap and the list inside has been displayed on the jsp using the s:iterator and s:textfield and it is being displayed correctly. i.e. the \"values\" inside the s:textfield are correct. Now, the problem arises when the textfield is modified. How do we capture the modified values inside ObjectC in the action