Invalid property 'map[two]' of bean class [com.shiyaxin.doman.Account]: Invalid index in property path 'map[two]'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Integer' for property 'null'; nested exception is java.lang.NumberFormatException: For input string: "two"
<form action="account" method="post"><br/>
账户名:<input type="text" name="aname"><br/>
账户密码:<input type="text" name="password"><br/>
账户金额:<input type="text" name="money"><br/>
用户名字:<input type="text" name="list[0].aname"><br/>
用户年龄:<input type="text" name="list[0].password"><br/>
用户名字:<input type="text" name="map['one'].aname"><br/>
用户年龄:<input type="text" name="map['two'].money"><br/>
<input type="submit" value="提交">
</form>
错误就是map[放的类型错误,在java类我键在map结合里是一个Integer的类型
],这里想家’’,在java类就要换成string的