<link rel="stylesheet" type="text/css" href="css/Modal.css">
views 폴더에 css/modal.css 를 만들어 mapping 했음.
> resources 에서 mapping 을 해서 해당 경로를 찾지 못 함.
servlet-context.xml
<resources mapping="/WEB-INF/**" location="/WEB-INF/" />
추가 하였으나 인식하지 못 해서
제거하고 css 폴더를 resources에 옮김.
<link rel="stylesheet" type="text/css" href="../resources/css/Modal.css">
jsp에 css 경로 수정.
views 상위 폴더 이기 때문에 ../ 부터 시작.
참고
https://devel-log.tistory.com/32
[CSS] 절대 경로 & 상대 경로
1. 절대 경로 이미 지정되어 있어 변경할 수 없는 경로. 페이지 안에 다른 서버에 있는 이미지나 페이지 등의 파일을 연결 시킬때 사용 함. https://devel-log.tistory.com/ 개발로그 2. 상대 경로 상대적으
devel-log.tistory.com