摘要: 关于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> 利用上下文参数, 阅读全文
posted @ 2013-02-15 11:06 穆乙 阅读(1558) 评论(0) 推荐(0) 编辑
摘要: 如果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>/*</ 阅读全文
posted @ 2013-02-15 00:55 穆乙 阅读(8536) 评论(0) 推荐(0) 编辑