컨트롤러클라이언트 요청을 처리하는 컨트롤러 객체로 , 요청을 받아 사용자의 요청에 부합하는 메서드를 실행한다. @Controllerpublic class MyController { @GetMapping("/hello") public String hello(Model model) { model.addAttribute("message", "Hello, Spring MVC!"); return "hello"; // View 이름을 반환합니다 (예: hello.jsp, hello.html) }}컨트롤러로 사용하기 위해서는 클래스 위에 @Controller 이렇게 어노테이션을 작성해야 한다. 요청 매핑 어노테이션@RequestMapping("주소")@RequestMappi..