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

📄 existfundform.java

📁 这是本人以前在学校时
💻 JAVA
字号:
/*
 * Created on 2006-6-29
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.funddeal.view.actionform.client;

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;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ExistFundForm extends ActionForm {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String whe;
	private String whename;
	
	/**
	 * @return Returns the whe.
	 */
	public String getWhe() {
		return whe;
	}
	/**
	 * @param whe The whe to set.
	 */
	public void setWhe(String whe) {
		this.whe = whe;
	}
	/**
	 * @return Returns the whename.
	 */
	public String getWhename() {
		return whename;
	}
	/**
	 * @param whename The whename to set.
	 */
	public void setWhename(String whename) {
		this.whename = whename;
	}
	public ActionErrors validate(ActionMapping mapping,HttpServletRequest request){
		
		ActionErrors errors=new ActionErrors();
		if(whe.equals("")||whename.equals(""))
			errors.add("erro",new ActionMessage("diendjd"));
		return errors;
		
	}
}

⌨️ 快捷键说明

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