<?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:util="http://www.springframework.org/schema/util"
|
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context"
|
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:mvc="http://www.springframework.org/schema/mvc"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-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/aop/spring-aop-3.0.xsd
|
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
|
http://www.springframework.org/schema/mvc
|
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
|
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"></bean>
|
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter"></bean>
|
|
|
<bean id="viewresolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
|
<property name="cache" value="false"></property>
|
<property name="viewClass" value="com.mandi.springmvc.FaceletView"></property>
|
<property name="prefix" value=""></property>
|
<property name="suffix" value=".xhtml"></property>
|
</bean>
|
|
<context:annotation-config />
|
<context:component-scan base-package="com.mandi.**.controller">
|
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Service"/>
|
</context:component-scan>
|
|
|
|
<mvc:interceptors>
|
<bean class="com.mandi.springmvc.logs.LogsInterceptor"></bean>
|
</mvc:interceptors>
|
|
</beans>
|