mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-23 03:41:12 +00:00
moved the ClinicRepository into some separate repos
There is still some polish up to be done.
This commit is contained in:
parent
16b1476c40
commit
c9c8c4e085
47 changed files with 1666 additions and 728 deletions
|
|
@ -13,7 +13,7 @@
|
|||
<!--
|
||||
- The controllers are autodetected POJOs labeled with the @Controller annotation.
|
||||
-->
|
||||
<context:component-scan base-package="org.springframework.samples.petclinic.web"/>
|
||||
<context:component-scan base-package="org.springframework.samples.petclinic.web, org.springframework.samples.petclinic.service"/>
|
||||
|
||||
|
||||
<mvc:annotation-driven />
|
||||
|
|
@ -25,6 +25,8 @@
|
|||
<!-- uses WebJars so Javascript and CSS libs can be declared as Maven dependencies (we're using it for Bootstrap) -->
|
||||
<mvc:resources mapping="/webjars/**" location="classpath:/META-INF/resources/webjars/"/>
|
||||
|
||||
<mvc:view-controller path="/" view-name="welcome"/>
|
||||
|
||||
|
||||
<!--
|
||||
- This view resolver delegates to the InternalResourceViewResolver and BeanNameViewResolver,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue