Using Struts tag, we normally refer value of bean value as <html:text property="bean.field" name="dynaform"/> Similarly to get value from an object containing vector holds again other objects, to retrieve first objects field value, can be written as <html:text property ="obj1.vectorName.fieldName" name="dynaForm"/>
Now,in case, if a hashmap contains a vector which holds bean, how can we use above tag in that case... I tried like <html:text property="mapName(key).[vectorIndex].fieldName" name="dynaName" /> But it doesn't seem to be working.. Any help willbe appreciated.
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!