spring mvc mybatis 整合用配置web.xml文件吗

2025-03-24 09:20:53
推荐回答(1个)
回答1:

主要是配置 spring和 struts ,例如


contextConfigLocation
classpath:applicationContext.xml


org.springframework.web.context.ContextLoaderListener


openSessionInViewFilter
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter


openSessionInViewFilter
/*


struts2

org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter



struts2
/*