Spring

[Spring/Eclipse]부트스트랩 적용 방법

지방시 2023. 2. 5. 00:41

 

사용된 부트스트랩

https://startbootstrap.com/previews/modern-business

 

사용할 부트스트랩을 압축 해제 해준다.

 

압축을 푼 파일을 src/main/webapp/resources 경로 안에 넣어준다. 

 


이제 리소스 등록을 위해 servlet-context.xml에서 코드를 수정해준다.

[변경 전]

[변경 후] 

<resources mapping="/**" location="/resources/" />

변경 후 적용을 위해 서버 재시작을 해준다!!

 

짠 적용이 잘 되었다><