从页面将值传入后台通过hibernate对象删除:

来源:互联网 发布:小服装店进销存软件 编辑:程序博客网 时间:2024/05/16 11:41

hibernate删除对象:

1、jsp页面传入要删除的对象元素:


2、struts中配置:


3、在MessageAction中注入jsp传过来的数据到对象:元素有idfriend;username; fname;

4、通过定义的DelBiz方法将对象删除:




0 0
原创粉丝点击