From f1b2d5ba553e486b602c0e5f40d166ff7d073c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=AE=8F?= <13709276+ccwss-suhong@user.noreply.gitee.com> Date: Fri, 28 Jun 2024 22:57:54 +0800 Subject: [PATCH] WEB-INF/web.xml --- src/main/java/webapp/WEB-INF/web.xml | 68 ++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 src/main/java/webapp/WEB-INF/web.xml 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 + / + + + + +