跪求SSH框架的整合资料!!!谢谢!!!

来源:百度知道 编辑:UC知道 时间:2024/09/24 10:35:16

介绍一个最简单的方法
下载一个myeclipse6.5绿色版
安装好之后项目里
先配置hibernate 数据库连接
然后依次右键点击MyEclipse>
添加:
add Spring
add hibernate
add struts
最后修改struts的配置文件
加入<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation"
value="classpath:applicationContext.xml"/>
</plug-in>

修改action的path为:
type="org.springframework.web.struts.DelegatingActionProxy"
这样就搭建成功了

去csdn(如果java人员不知道这个网站是很遗憾的) 找找 那里的东西都是可以下载的而且内容相当全面 不过需要积分

http://zhidao.baidu.com/question/73455989.html?si=3