SSH搭建web java

来源:互联网 发布:淘宝发安能物流好恶心 编辑:程序博客网 时间:2024/05/01 16:30

1.新建WEB Project

2.添加DB

3.添加struct(sturct-spring)

4.添加spring(aop,president core,jdbc,web)

5.添加hibernate(生成ApplicationContext.xml)

6.反向生成实体类

7.写dao,daoimpl,service,serviceimpl,action

8.配置struct.xml

9.配置applicationcontext.xml(添加DAO,SERVICE,ACTION关联)

10.配置web.xml

11.配置写JSP

1 0
原创粉丝点击