springmvc 数据绑定时,如何自动接受复合对象(已封装Bean)
如:
Bean{
map<Long,List<T>> map;
}
Bean{
map<Object,List<T>> map;
}
Bean{
map<Long,map<Integer,Integer>> map;
}
Bean{
map<Long,map<Integer,List<T>>> map;
}
....
求大神解答
springmvc 数据绑定时,如何自动接受复合对象(已封装Bean)
如:
Bean{
map<Long,List<T>> map;
}
Bean{
map<Object,List<T>> map;
}
Bean{
map<Long,map<Integer,Integer>> map;
}
Bean{
map<Long,map<Integer,List<T>>> map;
}
....
求大神解答
4 回答1.2k 阅读✓ 已解决
4 回答1.2k 阅读✓ 已解决
1 回答2.5k 阅读✓ 已解决
2 回答701 阅读✓ 已解决
2 回答1.7k 阅读
2 回答1.6k 阅读
2 回答1.3k 阅读
在Controller里直接指定参数为Map是不行的,需要封装一个Bean来接收数据。可以看下这个视频:http://www.imooc.com/learn/558