HandlerAdapter

spring/spring mvc1

⭐️ 스프링 MVC 5 - 기본 기능

1. 로깅 알아보기 실무에선 System.out.println() 사용하지 않고 로깅 라이브러리 사용해서 log 출력 println을 사용하지 않는 이유 log가 더 자세한 정보를 넘긴다. log는 level 설정이 가능해서 log를 선별해서 받을 수 있다. 반면 println은 선별해서 값을 받을 수 없어서 운영시스템이 더러워진다. 로깅 라이브러리 스프링 부트 라이브러리 사용시, 스프링 부트 로깅 라이브러리가 포함 인터페이스 : SLF4J 제공 구현체 : Logback, Log4J, Log4J2 등등 존재 -> spring boot는 Logback 주로 사용 log 장점 application.properties를 이용해서 관리할 수 있어서 로그 레벨에 따라 개별 서버에서 상황에 맞는 log 범위 설정..

spring/spring mvc1

스프링 MVC 4 - 스프링 MVC 구조 이해

0. 스프링 MVC 전체 구조 0.1. 큰 구조 Tocat Request, Response Servlet Container Spring Conatiner ServletContext AnnotaionApplicationContext 0.2. Spring MVC 구조 직접 만든 프레임워크 스프링 MVC 비교 FrontController -> DispatcherServlet handlerMappingMap -> HandlerMapping MyHandlerAdapter -> HandlerAdapter ModelView -> ModelAndView viewResolver -> ViewResolver MyView -> View 1. dispatcherServlet 1.1. dispatcher 개요 tip : int..

wooweee
'HandlerAdapter' 태그의 글 목록