http 4051 [spring Boot] Request method 'POST' not supported(feat. thymeleaf) ๋ชฉ์ฐจ ๋ฏธ๋์ ๋ด๊ฐ ๋ณด๊ธฐ ์ํด ๊ธฐ๋กํจ ์ฌ์ด๋ ํ๋ก์ ํธ์์ html template์ผ๋ก thymeleaf ์ฌ์ฉ ํ๊ณ ์๋ค. ๋ณดํต ์ด ์๋ฌ๋ ํด๋ผ์ด์ธํธ์ ์๋ฒ์ http method๊ฐ ์ผ์นํ์ง ์๋ ๊ฒฝ์ฐ ๋ฐ์ํ๋๋ฐ ๋ด ๊ฒฝ์ฐ๋ ์๋์ฒ๋ผ form์์๋ post๋ก ๋ณด๋ด๊ณ ์๋ฒ์์๋ post๋ก ๋ฐ๊ฒ๋ ๋์ด ์์๋ค. view ์ ๋ชฉ Incorrect date ๋ด์ฉ Incorrect date ์ด๋ฆ Incorrect date Submit Controller /** * ๊ฒ์๊ธ ์์ฑ ํผ * @param model * @return */ @GetMapping("/admin/board/new") public String createForm(Model model) { model.addAttribute("boardForm", new .. IT/development 2022. 11. 22. ์ด์ 1 ๋ค์