I have to return a list of employees from a controller in response to jQuery AJAX request. How should I do for it?
My controller:
Make the method as @ResponseBody Type in the controller and in the ajax take the List from success function.
Put the Jackson Mapper file in Pom.xml file if using Maven