📄 opactionform.java
字号:
package news.web;import com.jdon.model.*;import org.apache.struts.action.*;import javax.servlet.http.*;import news.model.News;public class OpActionForm extends ModelForm { private String opId; private String opContent; private News News = new News(); public void setOpId(String opId) { this.opId = opId; } public void setOpContent(String opContent) { this.opContent = opContent; } public void setNews(News News) { this.News = News; } public String getOpId() { return opId; } public String getOpContent() { return opContent; } public News getNews() { return News; } 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 + -