Why is the method in controller is invoked 3 times?

@RequestMapping("/")
@Controller
public class HotelController {

@Autowired
 private HotelDAO hotelDAO;
 @RequestMapping(method = RequestMethod.GET)
 public String list(Model uiModel) {
 List<hotelaudit> list = hotelDAO.findAll();
 uiModel.addAttribute("hotels", list);
 return "employeesListDisplay";
}
}</hotelaudit>

ddf41344a328437aa62371fa4a337b3d.PNG
August 23rd 19 at 10:35
0 answer

Find more questions by tags HibernateSpring