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
- http
- pointcut
- Greedy
- springdatajpa
- Servlet
- 스프링
- Exception
- spring
- 알고리즘
- Spring Boot
- jpa
- 백준
- Thymeleaf
- 스프링 핵심 원리
- 스프링 핵심 기능
- db
- transaction
- 김영한
- 인프런
- Proxy
- kotlin
- Android
- QueryDSL
- 그리디
- java
- SpringBoot
- JDBC
- JPQL
- 자바
- AOP
Archives
- Today
- Total
목록해결방법 (1)
개발자되기 프로젝트
체크박스 - 단일 1
1. single checkbox addform.html에 추가 일단 순수 html로 작성. check box의 경우 name이 open이다. ->Item의 Boolean open에 참/거짓 값을 넘겨줌. 판매 여부 판매 오픈 controller에서 open 값이 잘 넘어오는지 확인하기 위해 log를 추가. @PostMapping("/add") public String addItem(@ModelAttribute Item item, RedirectAttributes redirectAttributes) { log.info("item.open={}", item.getOpen()); Item savedItem = itemRepository.save(item); redirectAttributes.addAttrib..
인프런/[인프런] 스프링 MVC 2
2021. 9. 23. 00:58