/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

  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="
  6. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  7. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
  8. <!-- Scans the classpath of this application for @Components to deploy as beans -->
  9. <context:component-scan base-package="org.ala.spatial" />
  10. <!-- Application Message Bundle -->
  11. <bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
  12. <property name="basename" value="/WEB-INF/messages/messages" />
  13. <property name="cacheSeconds" value="0" />
  14. </bean>
  15. <!-- Configures Spring MVC -->
  16. <import resource="mvc-config.xml" />
  17. </beans>