<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"
	xsi:schemaLocation="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">

	<!--扫描整体程序包-->
	<context:component-scan base-package="com.lesson.controller"/>
	<context:component-scan base-package="com.lesson.dao"/>
	<context:component-scan base-package="com.lesson.model"/>
	<context:component-scan base-package="com.lesson.service"/>

	<!--视图解析器-->
	<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
	    <property name="prefix" value="/" />
	    <property name="suffix" value="" />
	</bean>


</beans>