Spring mvc接受集合类型参数的方法

public String xxxxx(String xxxx, String xxxxx, @RequestParam("parameterList[]") List<String> parameterList) 

方法比较简单,就是在参数名前边加上 @RequestParam("parameterList[]")注解,告诉Spring mvc这是一个集合类型的参数

原文地址:https://www.cnblogs.com/LionheartCGJ/p/8251419.html