📄 newsactionform.java~1~
字号:
package com.victor.domain;
import org.apache.struts.action.*;
import javax.servlet.http.*;
public class NewsActionForm
extends ActionForm {
private String newContent = "";
private Integer newID = new Integer( -1);
private String newIssueDate = "";
private String newStyle = "";
private String newTitle = "";
public NewsActionForm() {}
public String getNewContent() {
return newContent;
}
public void setNewContent(String newContent) {
this.newContent = newContent;
}
public Integer getNewID() {
return newID;
}
public void setNewID(Integer newID) {
this.newID = newID;
}
public String getNewIssueDate() {
return newIssueDate;
}
public void setNewIssueDate(String newIssueDate) {
this.newIssueDate = newIssueDate;
}
public String getNewStyle() {
return newStyle;
}
public void setNewStyle(String newStyle) {
this.newStyle = newStyle;
}
public String getNewTitle() {
return newTitle;
}
public void setNewTitle(String newTitle) {
this.newTitle = newTitle;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
/**@todo: finish this method, this is just the skeleton.*/
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -