Have you read through this -
http://struts.apache.org/2.x/docs/ognl-basics.html
The type conversion is generally called automagically.
-W
On Tue, Dec 6, 2011 at 8:46 AM, cwalet wrote:
> any body knows how to use Struts2 TypeConversion(in xwork libs) to
> convert a parameter string to a hashmap
any body knows how to use Struts2 TypeConversion(in xwork libs) to
convert a parameter string to a hashmap object?
I tried this:
@TypeConversion(key = "phone", rule = ConversionRule.MAP, converter =
"java.lang.String")
public void setHmss(HashMap hmso) {
this.hmso = hmso;
}
but no
2 matches
Mail list logo