일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 그리디
- kotlin
- Android
- 인프런
- QueryDSL
- 스프링 핵심 원리
- Greedy
- 자바
- springdatajpa
- SpringBoot
- Thymeleaf
- transaction
- JPQL
- 스프링
- 스프링 핵심 기능
- jpa
- Spring Boot
- java
- http
- 백준
- Exception
- Servlet
- pointcut
- db
- 알고리즘
- 김영한
- Proxy
- JDBC
- spring
- AOP
- Today
- Total
목록RequestMappingHandlerMapping (2)
개발자되기 프로젝트
210912 SpringMVC1. @RequestMapping 스프링은 애노테이션을 활용한 매우 유연하고, 실용적인 컨트롤러를 만들었다. 바로@RequestMapping 애노테이션을 사용하는 컨트롤러이다. RequestMappingHandlerMapping -> HandlerMapping RequestMappingHandlerAdapter -> HandlerAdapter 가장 우선순위가 높은 핸들러 매핑과 핸들러 어댑터는 아래와 같다. RequestMappingHandlerMapping RequestMappingHandlerAdapter 즉 @RequestMapping이 붇어있으면, RequestMappingHanderMapping, RequestMappingHandlerAdapter사용. 2. Spri..
1. Controller 인터페이스, 구현 과거버전 SpringController org.springframework.web.servlet.mvc.Controller @Component("/springmvc/old-controller") //빈 이름을 url패턴으로. public class OldController implements Controller { @Override public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { System.out.println("OldController.handleRequest"); return null; } } @Compone..