From 0d16e8963890547ac4dc44d43c5e93fd05b19ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sun, 30 Oct 2016 14:58:40 +0800 Subject: [PATCH] --- WebRoot/WEB-INF/123123.txt | 0 WebRoot/WEB-INF/web.xml | 81 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) delete mode 100644 WebRoot/WEB-INF/123123.txt create mode 100644 WebRoot/WEB-INF/web.xml diff --git a/WebRoot/WEB-INF/123123.txt b/WebRoot/WEB-INF/123123.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/WebRoot/WEB-INF/web.xml b/WebRoot/WEB-INF/web.xml new file mode 100644 index 00000000..04dc4f2c --- /dev/null +++ b/WebRoot/WEB-INF/web.xml @@ -0,0 +1,81 @@ + + + + webAppRootKey + webApp.log4j.path + + + log4jConfigLocation + classpath:log4j/log4j.properties + + + log4jRefreshInterval + 60000 + + + org.springframework.web.util.Log4jConfigListener + + + contextConfigLocation + classpath:spring/*-applicationContext.xml + + + org.springframework.web.context.ContextLoaderListener + + + session的过滤器 + SessionValidateFilter + com.jsh.filter.user.UserFilter + + + SessionValidateFilter + /pages/* + + + encodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + forceEncoding + true + + + + encodingFilter + /* + + + hibernateFilter + com.jsh.filter.common.OpenSessionInViewFilterExtend + + singleSession + true + + + + hibernateFilter + /* + + + struts2 + org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter + + config + struts2/struts.xml + + + + struts2 + /* + + + 60 + + + + login.jsp + + \ No newline at end of file