(Invalid property 'list[+1]' of bean class [com.xuanyu.unong.model.AddOrder]: Invalid index in property path 'list[+1]';
nested exception is java.lang.NumberFormatException: For input string: "+1")
查看表单提交的list发现name多了个+号
<td><span id ="moneySpan+${s.index+1}" >0.00</span>
<input id="money+${s.index+1}" type="hidden" class="form-control width-100 validate[required ] jsz"
placeholder="金额" value="0.00" name="list[+${s.index+1}].money" readonly="readonly"/>
</td>
修改为
<td><span id ="moneySpan+${s.index+1}" >0.00</span>
<input id="money+${s.index+1}" type="hidden" class="form-control width-100 validate[required ] jsz"
placeholder="金额" value="0.00" name="list[+${s.index+1}].money" readonly="readonly"/>
</td>
这个问题的发现却是在部署到服务器上还没有发现 是在迁移项目的时候到大的服务器上才发现的不知为啥!!!!
很是不懂他是怎么通过绑定值的