首页>代码>Struts2开发最简单学生后台管理系统,实现基本的增删改查操作,适合struts2入门学习>/StudentMessage2/src/com/lee/action/operation/OperationDeleteMessageAction.java
package com.lee.action.operation; import com.lee.action.SuperAction; import com.lee.dao.OperationMessagesDao; public class OperationDeleteMessageAction extends SuperAction { /** * */ private static final long serialVersionUID = -2889068838703617160L; private int number; @Override public String execute() { boolean checkDelete = new OperationMessagesDao().deleteMessage(number); if(checkDelete) { return SUCCESS; } else { return ERROR; } } public int getNumber() { return number; } public void setNumber(int number) { this.number = number; } }
最近下载更多
xz2000525 LV2
2022年5月29日
流年不辜 LV9
2022年5月6日
山东大馒头 LV1
2022年4月27日
G. LV1
2021年11月15日
and123456 LV11
2021年10月22日
ming_123_9715 LV23
2021年3月16日
shenshilei LV4
2020年6月19日
kuluohua LV15
2020年6月16日
qq2528732622 LV8
2020年6月15日
Jerry123123 LV2
2020年6月14日