From 3b55d06b89bf64873e685c3d78fce5affbba3d17 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Tue, 16 Apr 2019 11:20:38 +0900 Subject: Add warehouse server source code. [Patch Set 2] Add ReadMe.md Change-Id: I6ade52d2490f5ca4ba107c1a27ed6d5b39048725 Signed-off-by: zheng_wenlong --- webservice/src/main/webapp/WEB-INF/web.xml | 94 ++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 webservice/src/main/webapp/WEB-INF/web.xml (limited to 'webservice/src/main/webapp/WEB-INF/web.xml') diff --git a/webservice/src/main/webapp/WEB-INF/web.xml b/webservice/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..6f7545d --- /dev/null +++ b/webservice/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,94 @@ + + + + springmvcRestful + + + 字符集过滤器 + encodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + 字符集编码 + encoding + UTF-8 + + + forceEncoding + true + + + + encodingFilter + /* + + + + filter + app.market.webservice.Filter + + + filter + /* + + + + spring监听器 + org.springframework.web.context.ContextLoaderListener + + + + 防止spring内存溢出监听器 + org.springframework.web.util.IntrospectorCleanupListener + + + + + spring mvc servlet + springmvcRestful + org.springframework.web.servlet.DispatcherServlet + + spring mvc 配置文件 + contextConfigLocation + classpath:servlet-context.xml + + 1 + + + springmvcRestful + / + + + + contextConfigLocation + classpath:spring-mybatis.xml + + + + HiddenHttpMethodFilter + org.springframework.web.filter.HiddenHttpMethodFilter + + + HiddenHttpMethodFilter + /* + + + + app.market.webservice.Log4jlistener + + + log4jConfigLocation + classpath:log4j.xml + + + + org.springframework.web.util.Log4jConfigListener + + + + webAppRootKey + appmarketservice.root + + \ No newline at end of file -- cgit 1.2.3-korg