摘要:
关于spring多配置文件的写法:spring多配置文件写法大致有两种:一种是在 web.xml配置中 使用 <context-param> <param-name>contextConfigLocation</param-name> <param-value> /WEB-INF/classes/context1.xml, /WEB-INF/classes/context2.xml, /WEB-INF/classes/context3.xml </param-value> </context-param> 利用上下文参数, 阅读全文
摘要:
如果struts2版本是2.1以前web.xml配置过滤器的时候应该是这样:<filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> </filter> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</ 阅读全文