#์ฐธ๊ณ
Spring, RestController์์ @PathVariable๋ก email์ ๋๊ธธ๋ ์ด์.
Controllerํ ์คํธ๋ฅผ ํ์๋ email์ ํน์ url์ ๋ํด 406 ์๋ฌ ๋ฐ์ํ๋ ๋ฌธ์ ๊ฐ ์์๋ค. (soheemon@test.co.kr์ 200OK ๋ฐ๋ฉด soheemon@test.com์ 406 error ๋ฐ์.) "/isAlreadMember/{email:.+}" ์คํ๋ง์ด .์ ๊ธฐ..
soheemon.tistory.com
GET ์์ฒญ ์ ํ๋ผ๋ฏธํฐ์ ํน์ ๋ฌธ์ ์ฌ๋ผ์ง๋ ๋ฌธ์ (?, &, + ..)
GET ๋ฐฉ์์ผ๋ก parameter๋ฅผ ๋๊ธธ ๋ ํน์๋ฌธ์๊ฐ ์์ด์ง๋ ๋ฌธ์ ๊ฐ ๋ฐ์ํ๋ค. '&'์ '+'๋ GET ๋ฐฉ์...
blog.naver.com
https://moonsiri.tistory.com/58
JSP์์ URL encode ํ๋ ๋ฐฉ๋ฒ (ํน์๋ฌธ์ UTF-8 ์ธ์ฝ๋ฉ)
param์ ๊ฐ์ UTF-8์ธ์ฝ๋ฉํ์ฌ ๊ฐ์ ๋๊ฒจ๋ฌ๋ผ๋ ์์ฒญ์ ๋ฐ๊ณ ์ encodeURI() ํจ์๋ฅผ ์ฌ์ฉํ์ฌ ์ฒ๋ฆฌ๋ฅผ ํ๋๋ฐ +์ ๊ฐ์ ํน์๋ฌธ์๋ ๋ณ๊ฒฝ์ด ๋์ง ์์์ต๋๋ค. let url = "https://moonsiri.tistory.com?id="; let id..
moonsiri.tistory.com
'TIL' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Deploy] ์น ์ฌ์ดํธ ๋ฐฐํฌ ํ๋ซํผ (0) | 2024.03.22 |
---|---|
[TIL] AWS ์ Docker (0) | 2024.01.25 |
java ํ๊ฒฝ๋ณ์ ์ค์ (mac m1) (0) | 2022.01.12 |
Spring Legacy Project ) ํ๋ก์ ํธ ํ๊ฒฝ ์ค์ ํด์ฃผ๊ธฐ (0) | 2022.01.12 |
Oracle /SQL /๊ธฐ๋ณธ๊ฐ DEFAULT ์ ๊ฑฐํ๊ธฐ (0) | 2022.01.06 |