Question: what is the difference between model and modelmap in spring?
Answer: Model is an interface while ModelMap is a class. ModelAndView is just a container for both a ModelMap and a View object. It allows a controller to return both as a single value. I usually like ModelAndView to return the model and view from a controller.