spring3.1之前的HandlerMapping ,HandlerAdapter以及spring3.1写法
<!--Spring3.1之前的注解 HandlerMapping -->
<!-- <bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/> -->
<!--Spring3.1之前的注解 HandlerAdapter -->
<!-- <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"> -->
<!--线程安全的访问session-->
<!-- <property name="synchronizeOnSession" value="true"/> -->
<!-- </bean> -->
<!--Spring3.1开始的注解 HandlerMapping -->
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"/>
<!--Spring3.1开始的注解 HandlerAdapter -->
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter">
<!--线程安全的访问session-->
<property name="synchronizeOnSession" value="true"/>
</bean>