struts+spring+hibernate感悟(转载)
三者的结合堪称完美,整合三者关键是配置文件1.web.xml用于web服务器装载过滤器,servlet,以及配置文件struts在此被装载org.apache.struts.action.ActionServlet,还有它的配置参数config文件struts-config.xml,spring在此被装载org.springframework.web.context.ContextLoaderServlet还有它的配置文件applicationContext.xml,其他省略不列出例子:<context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param>