From cc27ef7695dea0c11cef43ef10239c04d7d1d30b Mon Sep 17 00:00:00 2001 From: mkpigyf2v <1789894621@qq.com> Date: Sat, 29 Apr 2023 20:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4web.xml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/web.xml | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 52982eb..55b2224 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -1,4 +1,48 @@ + + + + contextConfigLocation + classpath:applicationContext.xml + + + org.springframework.web.context.ContextLoaderListener + + + + + CharacterEncodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + utf-8 + + + + CharacterEncodingFilter + /* + + + + + mvc-dispatcher + org.springframework.web.servlet.DispatcherServlet + + + contextConfigLocation + classpath:springMVC.xml + + 1 + + + mvc-dispatcher + / + + + \ No newline at end of file