Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
2.0.9
-
None
Description
Parameters binding don't work properly when parameter 'map[key]' given from jsp, but if 'key' field will be an instance of String, it's work.
In jsp it's don't work, too.
The tag <s:property value="map[key]" /> will display empty string.
class SomeAction {
Integer key = 1;
Map map = new HashMap();
void setKey(Integer value)
Integer getKey()
{ return key; }Map getMap()
{ return map; }void setMap(Map map)
{ this.map = map; }public String execute()
{ System.out.println("map[key]: " + map.get(key)); return "success"; }}