|
|
|
@ -15,6 +15,8 @@
@@ -15,6 +15,8 @@
|
|
|
|
|
<param-value>petclinic.root</param-value> |
|
|
|
|
</context-param> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- |
|
|
|
|
Location of the Log4J config file, for initialization and refresh checks. |
|
|
|
|
Applied by Log4jConfigListener. |
|
|
|
@ -88,24 +90,12 @@
@@ -88,24 +90,12 @@
|
|
|
|
|
<!-- |
|
|
|
|
- Map static resources to the default servlet |
|
|
|
|
- examples: |
|
|
|
|
- http://localhost:8080/images/pets.png |
|
|
|
|
- http://localhost:8080/styles/petclinic.css |
|
|
|
|
- http://localhost:8080/static/images/pets.png |
|
|
|
|
- http://localhost:8080/static/styles/petclinic.css |
|
|
|
|
--> |
|
|
|
|
<servlet-mapping> |
|
|
|
|
<servlet-name>default</servlet-name> |
|
|
|
|
<url-pattern>*.png</url-pattern> |
|
|
|
|
</servlet-mapping> |
|
|
|
|
<servlet-mapping> |
|
|
|
|
<servlet-name>default</servlet-name> |
|
|
|
|
<url-pattern>*.gif</url-pattern> |
|
|
|
|
</servlet-mapping> |
|
|
|
|
<servlet-mapping> |
|
|
|
|
<servlet-name>default</servlet-name> |
|
|
|
|
<url-pattern>*.css</url-pattern> |
|
|
|
|
</servlet-mapping> |
|
|
|
|
<servlet-mapping> |
|
|
|
|
<servlet-name>default</servlet-name> |
|
|
|
|
<url-pattern>*.html</url-pattern> |
|
|
|
|
<url-pattern>/static/*</url-pattern> |
|
|
|
|
</servlet-mapping> |
|
|
|
|
|
|
|
|
|
<!-- |
|
|
|
@ -168,6 +158,4 @@
@@ -168,6 +158,4 @@
|
|
|
|
|
</resource-ref> |
|
|
|
|
--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</web-app> |
|
|
|
|