newsactionform.java~1~
来自「新闻网(news) 带使用说明书 可以用作课程设计」· JAVA~1~ 代码 · 共 64 行
JAVA~1~
64 行
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 + =
减小字号Ctrl + -
显示快捷键?