📄 backylhq_dlfdyform.java
字号:
// Created by Xslt generator for Eclipse.// XSL : not found (java.io.FileNotFoundException: (Bad file descriptor))// Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xslpackage struts.form;import javax.servlet.http.HttpServletRequest;import org.apache.struts.action.ActionErrors;import org.apache.struts.action.ActionForm;import org.apache.struts.action.ActionMapping;import org.apache.struts.action.ActionMessage;/** * Backylhq_dlfdyForm.java created by EasyStruts - XsltGen. * http://easystruts.sf.net * created on 10-28-2004 * * XDoclet definition: * @struts:form name="backylhq_dlfdyForm" */public class Backylhq_dlfdyForm extends ActionForm { // --------------------------------------------------------- Instance Variables // --------------------------------------------------------- Methods private String title; private String pubdate; private String excel_table; public void settitle(String title) { this.title=title; } public String gettitle() { return this.title; } public void setpubdate(String pubdate) { this.pubdate=pubdate; } public String getpubdate() { return this.pubdate; } public void setexcel_table(String excel_table) { this.excel_table=excel_table; } public String getexcel_table() { return this.excel_table; } /** * Method validate * @param ActionMapping mapping * @param HttpServletRequest request * @return ActionErrors */ public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { ActionErrors errors=new ActionErrors(); if(String.valueOf(title).length()==0) { errors.add("title",new ActionMessage("title.error")); } if(String.valueOf(pubdate).length()==0) { errors.add("pubdate",new ActionMessage("pubdate.error")); } if(String.valueOf(excel_table).length()==0) { errors.add("excel_table",new ActionMessage("excel_table.error")); } return errors; //throw new UnsupportedOperationException("Generated method 'validate(...)' not implemented."); } /** * Method reset * @param ActionMapping mapping * @param HttpServletRequest request */ public void reset(ActionMapping mapping, HttpServletRequest request) { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -