petclinic-uncached

Merge pull request #30 from cyrille-leclerc/server-static-resources Spring

8/25/2013 6:55:40 AM

Details

diff --git a/src/main/resources/spring/mvc-core-config.xml b/src/main/resources/spring/mvc-core-config.xml
index 426f123..170fbdb 100644
--- a/src/main/resources/spring/mvc-core-config.xml
+++ b/src/main/resources/spring/mvc-core-config.xml
@@ -33,6 +33,9 @@
 
     <mvc:view-controller path="/" view-name="welcome" />
 
+    <!-- serve static resources (*.html, ...) from src/main/webapp/ -->
+    <mvc:default-servlet-handler/>
+
     <bean id="conversionService" class="org.springframework.format.support.FormattingConversionServiceFactoryBean">
         <property name="formatters">
             <set>