Spring 2.5 annotation 기반 설정


1. 필요 라이브러리 : spring-context.jar
2. dispatcher-servlet.xml  에 추가
       http://www.springframework.org/schema/context
       http://www.springframework.org/schema/context/spring-context-2.5.xsd">
3.HandlerMapping 등록
 <!-- DefaultAnnotationHandlerMapping  -->
 <bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" />