ssh框架(myeclipse10下ssh框架搭建详细图解)
2014-03-27 10:52
295 查看
单位把原来的技术总监请来,给我们将解了下ssh框架,一下子清晰了很多。乘高手还在,先把ssh框架学懂。各种软件包下载安装略过,从ssh框架搭建开始。
ssh框架结构,很抱歉,我大概明白但是说不清楚。so,自己google吧。
其实这个内容也是从网上看的(http://xly3000.wordpress.com/2012/04/11/myeclipse10下搭建ssh框架图解struts2-1spring3-0hibernate3-3/),我也就是照着做了一遍。
1、创建一个web项目项目
![](http://img.my.csdn.net/uploads/201211/23/1353679916_4228.png)
2、添加spring
![](http://img.my.csdn.net/uploads/201211/23/1353682155_8806.png)
修改下spring包的位置
![](http://img.my.csdn.net/uploads/201211/23/1353682188_3221.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682248_6977.png)
3、添加hibernate
![](http://img.my.csdn.net/uploads/201211/23/1353682308_2989.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682358_5759.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682384_4330.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682435_9601.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682496_8566.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682530_2404.png)
4、添加struts
![](http://img.my.csdn.net/uploads/201211/23/1353682632_5725.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682658_4348.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682680_5438.png)
ssh算是搭建完成,在web.xml里面添加个监听器。
[html]
view plaincopy
<span style="font-size:18px;"> <listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener></span>
这时候,发布,访问,一个ssh框架就算是ok了。
ssh框架结构,很抱歉,我大概明白但是说不清楚。so,自己google吧。
其实这个内容也是从网上看的(http://xly3000.wordpress.com/2012/04/11/myeclipse10下搭建ssh框架图解struts2-1spring3-0hibernate3-3/),我也就是照着做了一遍。
1、创建一个web项目项目
![](http://img.my.csdn.net/uploads/201211/23/1353679916_4228.png)
2、添加spring
![](http://img.my.csdn.net/uploads/201211/23/1353682155_8806.png)
修改下spring包的位置
![](http://img.my.csdn.net/uploads/201211/23/1353682188_3221.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682248_6977.png)
3、添加hibernate
![](http://img.my.csdn.net/uploads/201211/23/1353682308_2989.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682358_5759.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682384_4330.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682435_9601.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682496_8566.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682530_2404.png)
4、添加struts
![](http://img.my.csdn.net/uploads/201211/23/1353682632_5725.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682658_4348.png)
![](http://img.my.csdn.net/uploads/201211/23/1353682680_5438.png)
ssh算是搭建完成,在web.xml里面添加个监听器。
[html]
view plaincopy
<span style="font-size:18px;"> <listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener></span>
这时候,发布,访问,一个ssh框架就算是ok了。
![](http://img.my.csdn.net/uploads/201211/23/1353682927_7079.png)
相关文章推荐
- ssh框架(myeclipse10下ssh框架搭建详细图解)
- SSH框架学习(一 、myeclipse10下ssh框架搭建详细图解)
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)St…
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- Myeclipse8.5下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- 从svn服务搭建、客户端安装使用 到 myeclipse8.5集成svn插件 详细图解
- 详细Windows10下Myeclipse 2017安装图解教程
- Myeclipse搭建SSH框架(详细步骤)
- myeclipse10下搭建SSH框架
- Myeclipse10.1环境下搭建SSH框架(图解)