RE: Type conversion on a Map

2012-09-21 Thread Miguel Almeida
On Fri, 2012-09-21 at 09:04 -0400, Martin Gainty wrote: > a stupid question but i have to ask If you mean "where is the initialisation of simpleMap e.g. simpleMap=new java.util.HashMap();" - it's not there. I don't think you need to, Struts initializes it. (see below) > > public class TypeConve

RE: Type conversion on a Map

2012-09-21 Thread Martin Gainty
a stupid question but i have to ask public class TypeConversionAction extends ActionSupport { private Map simpleMap; //where is the initialisation of simpleMap e.g. simpleMap=new java.util.HashMap(); public Map getSimpleMap() { return simpleMap; } public void setSimpleMap(Map si