왼쪽이 기존 MVC Model1 방식으로 구현했을때의 파일구조, 오른쪽이 Spring으로 변경하면서 새로 분류한 파일구조이다.
// 1.
<a href="../main/about.jsp">About</a> // 기존 페이지 이동 코드
// ↓
<a href="about">About</a> // 서블릿 주소 호출 방식으로 변경
// 2. css파일 연결 코드
<link rel="stylesheet" href="../css/morph.css">
// ↓
<link rel="stylesheet" href="<%=request.getContextPath() %>/resources/css/morph.css" />
// 3. 이미지 코드
<img src="../images/logo.png">
// ↓
<img src="<%=request.getContextPath() %>/resources/img/logo.png">