| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 | <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"       xmlns:context="http://www.springframework.org/schema/context"       xmlns:mvc="http://www.springframework.org/schema/mvc"       xmlns:tx="http://www.springframework.org/schema/tx"       xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd			http://www.springframework.org/schema/beans			http://www.springframework.org/schema/beans/spring-beans-3.0.xsd			http://www.springframework.org/schema/context			http://www.springframework.org/schema/context/spring-context-3.0.xsd			http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">	<context:annotation-config/>	<mvc:annotation-driven/>	<context:component-scan base-package="com.cxfws"  use-default-filters="false">	  <context:include-filter type="annotation" expression="org.springframework.stereotype.Controller" />	  <context:exclude-filter type="annotation" expression="org.springframework.stereotype.Service" />	</context:component-scan> 	<!-- spring4.x --><bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">      <property name="messageConverters">          <list>              <ref bean="jsonHttpMessageConverter" />          </list>      </property>  </bean>    <bean id="jsonHttpMessageConverter" class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter">      <property name="supportedMediaTypes">          <list>              <value>application/json;charset=UTF-8</value>          </list>      </property>  </bean> <!-- spring3.x --><!--  <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">      <property name="messageConverters">          <list>              <ref bean="jsonHttpMessageConverter" />          </list>      </property>  </bean>    <bean id="jsonHttpMessageConverter" class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter">      <property name="supportedMediaTypes">          <list>              <value>application/json;charset=UTF-8</value>          </list>      </property>  </bean>	-->		<mvc:resources location="/resources/" mapping="/resources/**"/>		<!-- 对模型视图名称的解析,在请求时模型视图名称添加前后缀 -->	<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">		<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>		<property name="prefix" value="/WEB-INF/jsplibrary/"></property>		<property name="suffix" value=".jsp"></property>	</bean>		</beans>
 |