mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-25 03:42:48 +00:00
Spring MVC should server static resources (*.html, ...) located in src/main/webapp instead of returning "404 Not Found"
This commit is contained in:
parent
657b8688e9
commit
e15e45b5e2
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue