Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 인프런
- 스프링
- JPQL
- Greedy
- kotlin
- http
- transaction
- pointcut
- 백준
- 알고리즘
- JDBC
- 자바
- db
- spring
- QueryDSL
- Spring Boot
- Proxy
- AOP
- SpringBoot
- java
- springdatajpa
- Thymeleaf
- Android
- Servlet
- 스프링 핵심 원리
- 김영한
- 그리디
- 스프링 핵심 기능
- Exception
- jpa
Archives
- Today
- Total
목록th:href (1)
개발자되기 프로젝트
[WebPage] Thymeleaf로 고치기
1. Controller ItemRepository는 final로 선언. 그리고 Constructor를 통해 주입받음. ->lombok 이용 생성자가 딱 한개 있으면 @Autowired생략 가능. @Controller @RequestMapping("/basic/items") @RequiredArgsConstructor public class BasicItemController { private final ItemRepository itemRepository; @GetMapping public String items(Model model){ List items = itemRepository.findAll(); model.addAttribute("items", items); return "basic/item..
인프런/[인프런] 스프링 MVC 1
2021. 9. 17. 14:12