Re: struts mapped properties

2006-02-10 Thread vladimir lenin
Laurie Harper holoweb.net> writes: > > http://struts.apache.org/struts-doc- 1.2.x/userGuide/building_view.html#indexed > Thank you for the link. I tried list[0](key1) to get the value of "key1" in the map in the list at location 1. but it is not working --

Re: struts mapped properties

2006-02-10 Thread Laurie Harper
vladimir lenin wrote: I have a List of HashMaps (both the key and value are strings) List list=new ArrayList(); for(int i=0;i<10;i++) { Map map=new HashMap(); for(int j=0;j<10;j++) { map.put("key"+j,"value"+j); } list.add(map); } This list is in an action form. wha

struts mapped properties

2006-02-10 Thread vladimir lenin
I have a List of HashMaps (both the key and value are strings) List list=new ArrayList(); for(int i=0;i<10;i++) { Map map=new HashMap(); for(int j=0;j<10;j++) { map.put("key"+j,"value"+j); } list.add(map); } This list is in an action form. what is syntax to get/set va