Hi all, I've experienced something that I think strange, but I would like to know if it is a normal behavior. I'm using Struts 2.0.1 with the default interceptors configuration. I have a generic Action that implements ParametersAware (and ServletRequestAware and SessionAware) and I have the getters and setters for the parameters that I need to read in my action. Some of these parameters are of type Integer, so I have the appropriate getters and setters with type Integer. This works fine. With the ParametersAware interface I also have the getParameters() and setParameters() methods to have all the parameters in the Map. But the problem is that in this Map the value associated with a given parameter that is not type String, is always a String[]. So it's not the same type with the getter and with the Map. For instance, the "id" parameter is of type Integer, so when I use getId() I receive an Integer (that's OK), but when I use getParameters().get("id"), I receive a String[]... So I'm a little confused about this. Is it a normal behavior? Or may I have the same type in the 2 ways?
Thanks for your help. Sebastien