Java & Spring & SpringBoot
Spring4 예제 (첨부있음)
Grand_J
2020. 2. 10. 14:56
반응형
Spring4 예제
* 메이븐 형태 아님
- Spring 4.0.1.RELEASE
- JDK 1.6
- Tomcat 7.0
- Eclipse or STS
- 첨부파일
출처 :
https://www.dineshonjava.com/spring-4-framework-hello-world-example/
Spring 4 Framework Hello World Example - Dinesh on Java
Previous Next In this tutorial you will learn how to develop a Spring 4 Framework Hello world example. We hope this tutorial will give you a quick start with Spring MVC development using the latest Spring 4 Release.Here first I downloaded the new release o
www.dineshonjava.com
스프링 3.0 부터 서블릿 세팅 시
<context:component-scan .. />
<annotation-driven />
을 선언해야 함.
<annotation-driven /> : @RequestMapping 어노테이션을 URI RequestMapping
<context:component-scan .. /> : @Controller, @Component, @Repository, @Service 등의 어노테이션을 참조하여 빈 등록
끗!@#!@
반응형