๋ฐ์ํ
1.build.gradle์ ์์กด์ฑ ์ถ๊ฐ
2.freemaker์์ ์ฌ์ฉํ ์ค์ ๋ด์ฉ์ application.properties์ ์ถ๊ฐ
3. index.ftl ํ์ผ ์์ฑ (์ผ๋ฐ file๋ก ์์ฑ)
์ฒ์์๋ ํ ์คํธ ํ์ผ๋ก ์ธ์๋จ
jsp์ฒ๋ผ ์ฌ์ฉํ๊ธฐ ์ํด Eclipse Marketplace์์ jsp๋ก ๊ฒ์ํ Eclipse Enterprise Java and Web Developer Tools ๋ค์ด๋ก๋
sts ์ฌ์์ ํ window > Preferences > file associations ๊ฒ์
file types ์์ add > .ftl ์ถ๊ฐ
associated editors ์์ add > jsp Editor > apply and close
window > Preferences > content types ๊ฒ์
JSP ์ ํํ file associations ์ add > *.ftl ๋ฑ๋ก
ftl ํ์ผ์ ์๋ก ์ด์ด๋ณด๋ฉด JSP ํ์์ผ๋ก ํ์๋๋๊ฑธ ๋ณผ ์ ์์
๋ฐ์ํ
'STUDY > SPRING' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Spring Boot ๊ธฐ๋ณธ ๊ตฌ์กฐ (0) | 2023.07.06 |
---|---|
์์กด์ฑ ์ฃผ์ (DI) (0) | 2022.10.28 |
์นด์นด์ค ๋ก๊ทธ์ธ API ์ฌ์ฉํ๊ธฐ - 4(๋ก๊ทธ์ธ ์๋ฃ) (0) | 2022.08.18 |
์นด์นด์ค ๋ก๊ทธ์ธ API ์ฌ์ฉํ๊ธฐ - 3 (0) | 2022.08.18 |
์นด์นด์ค ๋ก๊ทธ์ธ API ์ฌ์ฉํ๊ธฐ -2 (1) | 2022.08.16 |