1 . component-scan
Spring 은
<context:component-scan base-package="Spring.web.animal" />
이런식으로 설정을 해주는 반면
SpringBoot는
이미 설정이 되어 있어서
2. tomcat
SpringBoot 이미 설정이 완료되어있다.
3. jsp
SpringBoot는 src/main/webapp/WEB-INF/views 를 만들어서 jsp 생성
SpringBoot은 따로 pom.xml 파일에 jsp 라이브러리를 넣어줘야한다
spring:
mvc:
view:
prefix: /WEB-INF/views/
suffix: .jsp
4. 정적 자원
SpringBoot
resources/static 밑에 정적 자원을 넣어준다
Spring
src/main/webapp/resources 밑에 정적 자원을 넣어준다
5. 설정 파일
SpringBoot
resources/application.yml
Spring
root-context.xml
servlet-context.xml