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 |
Tags
- JPQL
- Proxy
- java
- spring
- JDBC
- pointcut
- 스프링 핵심 원리
- Thymeleaf
- db
- transaction
- kotlin
- QueryDSL
- 스프링
- 인프런
- 스프링 핵심 기능
- Exception
- Spring Boot
- 자바
- http
- Servlet
- AOP
- 백준
- 김영한
- SpringBoot
- Android
- jpa
- 알고리즘
- springdatajpa
- Greedy
- 그리디
Archives
- Today
- Total
목록switch (1)
개발자되기 프로젝트
[Thymeleaf] 조건 부 평가, if, unless, switch, case
1. Thymeleaf의 조건식 if unless ( if 의 반대) 2. if, unless 타임리프는 해당 조건이 맞지 않으면 태그 자체를 렌더링하지 않는다. 만약 다음 조건이 false 인 경우 ... 부분 자체가 렌더링 되지 않고 사라진다. user.age가 10인경우 if문이 true -> th:text="미성년자" 랜더링됨. 3. switch * 은 만족하는 조건이 없을 때 사용하는 디폴트 값. 10살 20살 기타 4. Controller @GetMapping("/condition") public String condition(Model model){ addUsers(model); return "basic/condition"; } 5. condition.html if, unless count ..
인프런/[인프런] 스프링 MVC 2
2021. 9. 19. 00:08