spring mvc contrller map paramers
@RequestMapping(value = "test", method = RequestMethod.POST)
public String register(@RequestParam Map<String, String> params){
return "test";
}
注意:@RequestParam 不能写成(@RequestParam("params"))
猜你喜欢
转载自shuhucy.iteye.com/blog/2261142
今日推荐
周排行