/alaspatial/src/main/webapp/WEB-INF/spring/app-config.xml
http://alageospatialportal.googlecode.com/ · XML · 21 lines · 14 code · 4 blank · 3 comment · 0 complexity · 46a4e1fb5cbca8e7c9ade12050e117a3 MD5 · raw file
- <?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"
- 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">
- <!-- Scans the classpath of this application for @Components to deploy as beans -->
- <context:component-scan base-package="org.ala.spatial" />
- <!-- Application Message Bundle -->
- <bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
- <property name="basename" value="/WEB-INF/messages/messages" />
- <property name="cacheSeconds" value="0" />
- </bean>
- <!-- Configures Spring MVC -->
- <import resource="mvc-config.xml" />
- </beans>