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"
4    xmlns:context="http://www.springframework.org/schema/context"
5    xsi:schemaLocation="http://www.springframework.org/schema/beans
6           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
7           http://www.springframework.org/schema/context
8           http://www.springframework.org/schema/context/spring-context-3.0.xsd">
9
10    <context:component-scan base-package="info.ahlberg.spring" />
11
12    <import resource="data-access-config.xml" />
13    <import resource="webmvc-config.xml" />
14
15    <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" />
16
17
18</beans>
19

Archive Download this file

Branches