SSH2.1.8整合
步骤1.新建项目:ssh
?
步骤2.首先整合Spring 和 Hibernate,将spring下的包和hibernate下的包导入进来,还有mysql的驱动类
?
步骤3.在类路径下新建beans.xml
?
?
?
?
步骤4.新建实体bean
?
Employee
?
?
?
?
Gander:
?
?
?
步骤9.? web.xml
?
??
?
步骤10.新建action
?
增:
?
?
?
message.jsp
?
?
?
employeelist.jsp
?
?
?
?
employeeupdate.jsp
?
?
?
步骤12.运行测试
?
首先访问如下路径:http://localhost:8080/ssh/add_addUI.action