- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
最新S2SH整合实例
第一步引包:Strut2:Hibernate:Spring:Other:第二步:配置web.xml:web-appversion=2.4xmlns=/xml/ns/j2eexmlns:xsi=/2001/XMLSchema-instancexsi:schemaLocation=/xml/ns/j2ee /xml/ns/j2ee/web-app_2_4.xsd!-- 配置Spring的监听器,用于初始化ApplicationContext对象 --listenerlistener-classorg.springframework.web.context.ContextLoaderListener/listener-class/listenercontext-paramparam-namecontextConfigLocation/param-nameparam-valueclasspath:applicationContext*.xml/param-value/context-paramfilterfilter-namestruts2/filter-namefilter-classorg.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter/filter-class/filterfilter-mappingfilter-namestruts2/filter-nameurl-pattern/*/url-pattern/filter-mappingwelcome-file-listwelcome-fileindex.jsp/welcome-file/welcome-file-list/web-appStrut2:?xmlversion=1.0encoding=UTF-8?!DOCTYPEstrutsPUBLIC-//Apache Software Foundation//DTD Struts Configuration 2.0//EN/dtds/struts-2.0.dtdstruts!-- 配置为开发模式 --constantname=struts.devModevalue=true/!-- 配置扩展名为action --constantname=struts.action.extensionvalue=action/packagename=defaultnamespace=/extends=struts-defaultactionname=testActionclass=testActionresultname=success/test.jsp/result/action/package/strutsSpring:?xmlversion=1.0encoding=UTF-8?beansxmlns=/schema/beansxmlns:xsi=/2001/XMLSchema-instancexmlns:context=/schema/contextxmlns:tx=/schema/txxsi:schemaLocation=/schema/beans /schema/beans/spring-beans-2.5.xsd/schema/context /schema/context/spring-context-2.5.xsd/schema/tx /schema/tx/spring-tx-2.5.xsd!-- 自动扫描与装配bean --context:component-scanbase-package=cn.shu.oa/context:component-scan!-- 加载外部的properties配置文件 --context:property-placeholderlocation=classpath:perties/!-- 配置数据库连接池(c3p0) --beanid=dataSourceclass=com.mchange.v2.c3p0.ComboPooledDataSource!-- 基本信息 --propertyname=jdbcUrlvalue=${jdbcUrl}/propertypropertyname=driverClassvalue=${driverClass}/propertypropertyname=uservalue=${username}/propertypropertyname=passwordvalue=${password}/property!-- 其他配置 --!--初始化时获取三个连接,取值应在minPoolSize与maxPoolSize之间。Default: 3 --propertyname=initialP
您可能关注的文档
最近下载
- 2023年甘肃武威市参公单位和事业单位遴选72人笔试《行政职业能力测验》模拟试卷答案详解版.docx VIP
- 机关公务礼仪课件.ppt VIP
- 爱国卫生防蚊灭蚊主题班会精品课件.ppt VIP
- 心理健康教育课件《为自己喝彩》.pptx VIP
- 6 远离烧烫伤 课件 湘教版生命与安全四年级上册.ppt VIP
- 《CNAS-CL16-2006 实验室能力认可准则在电磁兼容检测领域的应用说明》.pdf
- 佳能5D4中文使用说明书.pdf
- 消毒供应中心降低包装缺陷发生率课件.pptx VIP
- 2025年招录考试-法院书记员考试历年参考题库含答案解析(5套典型考题).docx VIP
- 初中心理健康_《为自己喝彩》教学课件设计.ppt VIP
文档评论(0)