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 MapEntity, String simpleMap; //where is the initialisation of simpleMap e.g. simpleMap=new java.util.HashMap(); public MapEntity, String getSimpleMap() { return simpleMap; }

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