⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 backtjfxcontent1form.java

📁 这个程序是花了好几十万请人开发的
💻 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;/**  * Backtjfxcontent1Form.java created by EasyStruts - XsltGen. * http://easystruts.sf.net * created on 10-14-2004 *  * XDoclet definition: * @struts:form name="backtjfxcontent1Form" */public class Backtjfxcontent1Form extends ActionForm {	// --------------------------------------------------------- Instance Variables	// --------------------------------------------------------- Methods	private String title1;	private String title2;	private String strArray;	private String strArray1;	private String contents;	private String content[]=new String[0];//ͼƬ		public void setcontent(String[] content)	{		this.content=content;	}	public String[] getcontent()	{		return this.content;	}	public void settitle1(String title1)	{		this.title1=title1;	}	public String gettitle1()	{		return this.title1;	}		public void settitle2(String title2)	{		this.title2=title2;	}	public String gettitle2()	{		return this.title2;	}		public String getstrArray()	{		return this.strArray;	}	public void setstrArray(String strArray)	{		this.strArray=strArray;	}		public String getstrArray1()	{		return this.strArray1;	}	public void setstrArray1(String strArray1)	{		this.strArray1=strArray1;	}		public void setcontents(String contents)	{		this.contents=contents;	}	public String getcontents()	{		return this.contents;	}		/** 	 * Method validate	 * @param ActionMapping mapping	 * @param HttpServletRequest request	 * @return ActionErrors	 */	public ActionErrors validate(		ActionMapping mapping,		HttpServletRequest request) {		ActionErrors errors=new ActionErrors();		if(title1==null || title1.length()==0)		{			errors.add("title1",new ActionMessage("title1.error"));		}		if(contents.length()==0 || contents==null)		{			errors.add("contents",new ActionMessage("contents.error"));		}		if(strArray==null )		{			errors.add("strArray",new ActionMessage("strArray.error"));		}				return errors;	}	/** 	 * Method reset	 * @param ActionMapping mapping	 * @param HttpServletRequest request	 */	public void reset(ActionMapping mapping, HttpServletRequest request) {		this.title1="";		this.title2="";		this.strArray="";		this.strArray1="";		this.contents="";	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -