35 lines
1.7 KiB
XML
35 lines
1.7 KiB
XML
<?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:mvc="http://www.springframework.org/schema/mvc"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
|
|
xmlns:task="http://www.springframework.org/schema/task"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
|
http://www.springframework.org/schema/mvc
|
|
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context-4.0.xsd
|
|
http://www.springframework.org/schema/aop
|
|
http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
|
|
http://www.springframework.org/schema/tx
|
|
http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
|
|
http://www.springframework.org/schema/task
|
|
http://www.springframework.org/schema/task/spring-task.xsd">
|
|
|
|
<description>Spring Configuration</description>
|
|
|
|
<mvc:annotation-driven>
|
|
<mvc:message-converters register-defaults="true">
|
|
<bean class="org.springframework.http.converter.StringHttpMessageConverter">
|
|
<property name="supportedMediaTypes" value="text/html;charset=UTF-8"/>
|
|
</bean>
|
|
</mvc:message-converters>
|
|
</mvc:annotation-driven>
|
|
|
|
<task:annotation-driven/>
|
|
|
|
<context:component-scan base-package="com.blxc"/>
|
|
|
|
<aop:aspectj-autoproxy/>
|
|
</beans> |