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
- CS
- spring
- ๋ฆฌ๋ ์ค
- ๋ฐฑ์ค
- baekjoon
- postgresql
- python
- ๋คํธ์ํฌ
- DB
- ์คํ๋ง๋ถํธ
- ๋ฐ์ดํฐ
- ์๋ฐ
- Spring Security
- JPA
- ์คํ๋ง ๋ถํธ ์ผํ๋ชฐ ํ๋ก์ ํธ with JPA
- ๋ฐ์ดํฐ๋ฒ ์ด์ค
- ํ๋ก๊ทธ๋๋จธ์ค
- ์คํ๋ง
- ์๋ฐ์คํฌ๋ฆฝํธ
- Java
- Flutter
- javascript
- backjoon
- ํ์ด์ฌ
- CS์ง์
- Oracle
- ํ๋ฌํฐ
- ์๋ฃ๊ตฌ์กฐ
- springboot
- ์ํ๋ฆฌํฐ
Archives
- Today
- Total
Jin's Dev Story
[SpringBoot] HTTP form์์ put, delete ์ฌ์ฉ๋ฒ ๋ณธ๋ฌธ
Web & Android/SpringBoot
[SpringBoot] HTTP form์์ put, delete ์ฌ์ฉ๋ฒ
woojin._. 2023. 8. 17. 19:03๐ก HTTP form์์๋ get, post๋ง ์ง์ํ๋ค!
1) application.properties์ ์๋์ ์ค์ ๊ฐ ์ถ๊ฐ
spring.mvc.hiddenmethod.filter.enabled=true
2) html์ ์๋ ์ฝ๋ ์ถ๊ฐ
<input type="hidden" name="_method" value="PUT">
์์
<form role="form" method="post" enctype="multipart/form-data" th:action="@{/boards/{id}(id=${boardFormDto.id})}" th:object="${boardFormDto}">
<input type="hidden" name="_method" value="PUT">
'Web & Android > SpringBoot' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[SpringBoot] Google ์ด๋ฉ์ผ ์ธ์ฆ (0) | 2023.09.12 |
---|---|
[SpringBoot] Lombok (1) | 2023.08.18 |
[SpringBoot] Thymeleaf - ๋ ์ง ๋ณํ (0) | 2023.08.17 |
[SpringBoot] WAS์ WS (0) | 2023.08.15 |
[SpringBoot] Design Pattern (0) | 2023.08.14 |