📄 backylhq1_dtps_titleform.java
字号:
// Created by Xslt generator for Eclipse.// XSL : not found (java.io.FileNotFoundException: (No such file or directory))// 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;/** * Backylhq1_dtps_titleForm.java created by EasyStruts - XsltGen. * http://easystruts.sf.net * created on 10-19-2004 * * XDoclet definition: * @struts:form name="backylhq1_dtps_titleForm" */public class Backylhq1_dtps_titleForm extends ActionForm { // --------------------------------------------------------- Instance Variables // --------------------------------------------------------- Methods private String radio; private String title2; public void setradio(String radio) { this.radio=radio; } public String getradio() { return this.radio; } public void settitle2(String title2) { this.title2=title2; } public String gettitle2() { return this.title2; } /** * Method validate * @param ActionMapping mapping * @param HttpServletRequest request * @return ActionErrors */ public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { ActionErrors errors=new ActionErrors(); if(title2==null || title2.length()==0) { errors.add("title2",new ActionMessage("title2.error")); } if(radio.length()==0 || radio==null) { errors.add("radio",new ActionMessage("radio.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) { this.radio=""; this.title2=""; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -