spring mvc json jar 包

jackson-annotations-2.9.10.jar

 

 

jackson-databind-2.9.10.jar

 

<mvc:annotation-driven/>

    <context:component-scan base-package="com.cjy.module" />

    <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter">
        <property name="messageConverters">
            <list>
                <bean class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter"/>
            </list>
        </property>
    </bean>

    <bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" />
    <bean class="org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter" />

 

posted on 2019-09-29 08:50  正义的伙伴!  阅读(316)  评论(0编辑  收藏  举报

导航

//增加一段JS脚本,为目录生成使用