Suppose a hyperlink is clicked and an url is fired with the following parameter list myparam=myValue1&myparam=myValue2&myparam=myValue3 . Now how can I
As of Spring 3.0, you can also use MultiValueMap to achieve this:
A rudimentary example would be:
public String someMethod(@RequestParam MultiValueMap params) {
final Iterator>> it = params.entrySet().iterator();
while(it.hasNext()) {
final String k = it.next().getKey();
final List values = it.next().getValue();
}
return "dummy_response";
}