From 8eee611105b95d53fcc6370ada32cdcbab42a858 Mon Sep 17 00:00:00 2001 From: YANG <2162555658@qq.com> Date: Fri, 28 Jun 2024 17:37:12 +0800 Subject: [PATCH] webINF --- src/webapp/WEB-INF/web.xml | 68 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 src/webapp/WEB-INF/web.xml diff --git a/src/webapp/WEB-INF/web.xml b/src/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..7fb37a8 --- /dev/null +++ b/src/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 + / + + + + +