Showing
1 changed file
with
4 additions
and
21 deletions
@@ -16,26 +16,9 @@ | @@ -16,26 +16,9 @@ | ||
16 | <servlet-mapping> | 16 | <servlet-mapping> |
17 | <servlet-name>default</servlet-name> | 17 | <servlet-name>default</servlet-name> |
18 | <url-pattern>/common/ok.jsp</url-pattern> | 18 | <url-pattern>/common/ok.jsp</url-pattern> |
19 | - </servlet-mapping> | ||
20 | - <servlet-mapping> | ||
21 | - <servlet-name>default</servlet-name> | ||
22 | - <url-pattern>*.html</url-pattern> | ||
23 | - </servlet-mapping> | ||
24 | - <servlet-mapping> | ||
25 | - <servlet-name>default</servlet-name> | ||
26 | - <url-pattern>*.js</url-pattern> | ||
27 | - </servlet-mapping> | ||
28 | - <servlet-mapping> | ||
29 | - <servlet-name>default</servlet-name> | ||
30 | - <url-pattern>*.css</url-pattern> | ||
31 | - </servlet-mapping> | ||
32 | - <servlet-mapping> | ||
33 | - <servlet-name>default</servlet-name> | ||
34 | - <url-pattern>*.jpg</url-pattern> | ||
35 | - </servlet-mapping> | ||
36 | - <servlet-mapping> | ||
37 | - <servlet-name>default</servlet-name> | ||
38 | - <url-pattern>*.png</url-pattern> | 19 | + <url-pattern>/cocacola/html/*</url-pattern> |
20 | + <url-pattern>/cocacola/images/*</url-pattern> | ||
21 | + <url-pattern>/js/*</url-pattern> | ||
39 | </servlet-mapping> | 22 | </servlet-mapping> |
40 | 23 | ||
41 | <servlet> | 24 | <servlet> |
@@ -49,7 +32,7 @@ | @@ -49,7 +32,7 @@ | ||
49 | </servlet> | 32 | </servlet> |
50 | <servlet-mapping> | 33 | <servlet-mapping> |
51 | <servlet-name>dispatcher</servlet-name> | 34 | <servlet-name>dispatcher</servlet-name> |
52 | - <url-pattern>/</url-pattern> | 35 | + <url-pattern>/*</url-pattern> |
53 | </servlet-mapping> | 36 | </servlet-mapping> |
54 | 37 | ||
55 | <listener> | 38 | <listener> |
-
Please register or login to post a comment