In Spring, I have a contact.jsp page with such a variable check, from where it takes this contactList variable, there is such code in the controller.
@RequestMapping("/contact") public String listContacts(Map<String, Object> map) { map.put("contact", new Contact()); map.put("contactList", contactService.listContact()); return "contact"; }
who passes it as a map parameter and how does it return it to jsp?