Skip to content

Instantly share code, notes, and snippets.

@bus4
Created November 30, 2016 12:00
Show Gist options
  • Save bus4/dcdc56521550d0596a9f27dfa3e23895 to your computer and use it in GitHub Desktop.
Save bus4/dcdc56521550d0596a9f27dfa3e23895 to your computer and use it in GitHub Desktop.
<?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/cache"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd">
<context:component-scan base-package="inno.controller"/>
<context:component-scan base-package="inno.repository"/>
<context:component-scan base-package="inno.util.validators"/>
<mvc:annotation-driven/>
<mvc:resources mapping="/resources/**" location="statics"/>
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/views/"/>
<property name="suffix" value=".jsp"/>
</bean>
<import resource="persistence-config.xml"/>
<import resource="aop-config.xml"/>
<import resource="security-config.xml"/>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment