diff --git a/src/main/java/webapp/WEB-INF/web.xml b/src/main/java/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..7fb37a8 --- /dev/null +++ b/src/main/java/webapp/WEB-INF/web.xml @@ -0,0 +1,68 @@ + + + + spring + + + + contextConfigLocation + classpath:spring/spring.xml + + + + + encodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + + encodingFilter + /* + + + + + Spring监听器 + org.springframework.web.context.ContextLoaderListener + + + + org.springframework.web.util.IntrospectorCleanupListener + + + + + SpringMVC + org.springframework.web.servlet.DispatcherServlet + + SpringMVC + contextConfigLocation + classpath:spring/spring-mvc.xml + + 1 + + + + + + default + *.js + *.css + *.html + /upload/* + + + + SpringMVC + / + + + + +