I have tried a number of examples from the net and cannot get Spring to validate my query string parameter. It doesn\'t seem execute the REGEX / fail.
packag
You have incorrect regex
"^[0-9]+(,[0-9]+)*$"
It will never parse
1,bob
Maybe, you need:
"^\w+(,\w+)*$"
And if you need to parse also an empty line, use:
"^(\w+(,\w+)*)?$"