Skip to content
Snippets Groups Projects
Commit 0cac9395 authored by michaelisvy's avatar michaelisvy
Browse files

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

Spring MVC should server static resources (*.html, ...) located in src/main/webapp instead of returning "404 Not Found"
parents 5797f0b7 e15e45b5
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
<mvc:view-controller path="/" view-name="welcome" /> <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"> <bean id="conversionService" class="org.springframework.format.support.FormattingConversionServiceFactoryBean">
<property name="formatters"> <property name="formatters">
<set> <set>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment