mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:35:49 +00:00
added comment on <mvc:default-servlet-handler />
This commit is contained in:
parent
6e079b23bb
commit
85c8237fb5
1 changed files with 3 additions and 2 deletions
|
@ -33,8 +33,9 @@
|
||||||
|
|
||||||
<mvc:view-controller path="/" view-name="welcome" />
|
<mvc:view-controller path="/" view-name="welcome" />
|
||||||
|
|
||||||
<!-- serve static resources (*.html, ...) from src/main/webapp/ -->
|
<!-- serve static resources (*.html, ...) from src/main/webapp/
|
||||||
<mvc:default-servlet-handler/>
|
Required when both servlet-mapping is '/' and static resources need to be served -->
|
||||||
|
<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">
|
||||||
|
|
Loading…
Reference in a new issue