[![In this Image I have to search person by based on dropdown selection ][1]][1]
I want to pass this selections through @Requestparam, I have multiple keynames but I want to pass one key at a time So, I want to use only One String whatever the parameter comes from the request it should fetch the key value in One String
I don't want like this
@RequestParam(value = "pname", required = false) String pName, @RequestParam(value = "ssn", required = false) String sSN)
I want Some thing like this (i.e multiple keyvalues with single String Variable)
public List<Patient> getPatientListLike(@RequestParam(required = false) String searchString)