Spring MVC Example

Spring MVC Example Git Source Tree

Root/src/main/webapp/WEB-INF/config/web-application-config.xml

1<?xml version="1.0" encoding="UTF-8"?>
2<beans xmlns="http://www.springframework.org/schema/beans"
3    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4    xsi:schemaLocation="http://www.springframework.org/schema/beans
5           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
6           http://www.springframework.org/schema/context
7           http://www.springframework.org/schema/context/spring-context-3.0.xsd">
8
9    <context:component-scan base-package="info.ahlberg.spring" />
10
11    <import resource="data-access-config.xml" />
12    <import resource="webmvc-config.xml" />
13
14    <bean
15        class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" />
16
17
18</beans>
19

Archive Download this file

Branches