📄 talkform.java~2~
字号:
package com.actionForm;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;
public class TalkForm extends ActionForm {
private String content="";
private Integer id=Integer.valueOf("-1");
private String leaveTime="";
private String topic="";
private String who="";
public TalkForm(){}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public void setWho(String who) {
this.who = who;
}
public void setTopic(String topic) {
this.topic = topic;
}
public void setLeaveTime(String leaveTime) {
this.leaveTime = leaveTime;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getId() {
return id;
}
public String getLeaveTime() {
return leaveTime;
}
public String getTopic() {
return topic;
}
public String getWho() {
return who;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
/** @todo: finish this method, this is just the skeleton.*/
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest servletRequest) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -