SSH整合过程?
struts、spring、hibernate的整合步骤:
1.导入struts、spring、hibernate所必须的包
2.在web.xml中配置
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener< stener-class>
< stener>
3.在struts-config.xml中配置
<controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor">
</controller>
本文详细介绍Struts、Spring和Hibernate(SSH)三个框架的整合过程。包括导入所需包、配置web.xml及struts-config.xml等关键步骤。
216

被折叠的 条评论
为什么被折叠?



