Merge branch 'dev_hotfix' into test
# Conflicts: # web/src/main/webapp/WEB-INF/web.xml
Showing
1 changed file
with
8 additions
and
5 deletions
@@ -13,6 +13,14 @@ | @@ -13,6 +13,14 @@ | ||
13 | <param-value>classpath*:META-INF/spring/spring-mybatis-datasource.xml,classpath*:META-INF/spring/spring*.xml</param-value> | 13 | <param-value>classpath*:META-INF/spring/spring-mybatis-datasource.xml,classpath*:META-INF/spring/spring*.xml</param-value> |
14 | </context-param> | 14 | </context-param> |
15 | 15 | ||
16 | + <servlet-mapping> | ||
17 | + <servlet-name>default</servlet-name> | ||
18 | + <url-pattern>/common/ok.jsp</url-pattern> | ||
19 | + <url-pattern>/cocacola/html/*</url-pattern> | ||
20 | + <url-pattern>/cocacola/images/*</url-pattern> | ||
21 | + <url-pattern>/js/*</url-pattern> | ||
22 | + </servlet-mapping> | ||
23 | + | ||
16 | <servlet> | 24 | <servlet> |
17 | <servlet-name>dispatcher</servlet-name> | 25 | <servlet-name>dispatcher</servlet-name> |
18 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> | 26 | <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> |
@@ -27,11 +35,6 @@ | @@ -27,11 +35,6 @@ | ||
27 | <url-pattern>/*</url-pattern> | 35 | <url-pattern>/*</url-pattern> |
28 | </servlet-mapping> | 36 | </servlet-mapping> |
29 | 37 | ||
30 | - <servlet-mapping> | ||
31 | - <servlet-name>default</servlet-name> | ||
32 | - <url-pattern>/common/ok.jsp</url-pattern> | ||
33 | - </servlet-mapping> | ||
34 | - | ||
35 | <listener> | 38 | <listener> |
36 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> | 39 | <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> |
37 | </listener> | 40 | </listener> |
-
Please register or login to post a comment