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