《ssh整合相关笔记》由会员分享,可在线阅读,更多相关《ssh整合相关笔记(9页珍藏版)》请在金锄头文库上搜索。
第一步骤:创建一个web项目先加入spring 支持如下图:第二步骤:加入hibernate支持 使用spring 管理hibernate 如下图:第三步骤:加入struts2 支持 如下图 :注意的是必须选择spring 的支持。第四步骤:配置web.xml文件 配置spring contextConfigLocation classpath:applicationContext.xml org.springframework.web.context.ContextLoaderListener