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
- spring
- Spring Boot
- 스프링 핵심 기능
- SpringBoot
- Exception
- 스프링 핵심 원리
- 스프링
- transaction
- Proxy
- springdatajpa
- 백준
- kotlin
- Thymeleaf
- db
- Greedy
- QueryDSL
- AOP
- 인프런
- Servlet
- JDBC
- http
- jpa
- 자바
- Android
- pointcut
- 그리디
- 김영한
- JPQL
- 알고리즘
- java
Archives
- Today
- Total
목록view 환경설정 (1)
개발자되기 프로젝트
View 환경설정
1. Thymleaf 사용 template 엔진으로 Thymleaf를 사용 template 엔진? 템플릿과 자료를 합성하여 사용자가 볼 수 있도록 렌더링 해줌 2. Controller 간단한 controller를 구성 @Controller public class HelloController { @GetMapping("hello") public String hello(Model model){ model.addAttribute("data", "hello!"); return "hello"; // 화면이름, html 파일명, resource의 templates하위. } } Model?? - model에 data를 실어서 Controller를 통해 view로 넘길 수 있음 - 생성된 data를 view로 보낼 때..
인프런/[인프런] Springboot와 JPA활용 1
2021. 8. 5. 14:06