1.스프링 실행 순서및 해당 객체를 정리하시오
DispatcherServlet
HandlerMapping
HandlerAdapter
ModelAndView
View
2. spring lagacy 에서 empList가 empList.jsp 에 나오도록 하시오.
@Controller public class EmpController { private static final Logger logger = LoggerFactory.getLogger(EmpController.class); @Autowired private EmpService empService; @GetMapping("/emp") public String emp(Locale locale, Model model) { model.addAttribute("emps", empService.getList()); return "emp/list"; } }