I misunderstood what you are looking for. If you need a controller method to handle both "GET" and "POST" methods as well as pagination then this should do it. Keep in mind that you have not posted any of your current code so I am assuming a good bit here:
Code:
@RequestMapping(value = "/viewCities", method = {RequestMethod.GET, RequestMethod.POST})
public String viewCities(
@RequestParam(value="stateId",required=false) String stateId,
@RequestParam(value="pageVal",required=false, default="1") Integer pageVal) {
}