摘要: 在项目中会涉及到多个spring的配置文件,在我所接触的项目中,只用到了两种不同的方法进行配置,有其他好办法的,欢迎讨论。 方法一: 在web.xml文件中作如下配置: <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext-*.xml,classpath*:applicationContext-*.xml</param-value> </context-param>< 阅读全文
posted @ 2009-12-22 10:51 hibernate3例子 阅读(933) 评论(0) 推荐(1) 编辑