Answers for "how to get all query params in java spring"

2

spring mvc get all request parameters

@RequestMapping(value = {"/search/", "/search"}, method = RequestMethod.GET)
public String search(@RequestParam Map<String,String> allRequestParams) {
   return "viewName";
}
Posted by: Guest on July-08-2020

Code answers related to "how to get all query params in java spring"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language