inputformwithcreditcard.java

来自「为struts 的示例程序」· Java 代码 · 共 39 行

JAVA
39
字号
/*
 * Created on Jul 24, 2003
 */
package strutsbook;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;


/**
 * @author rhightower
 *
 */
public class InputFormWithCreditCard extends InputFormWithEmail {
	
    private String creditCard; 
    
	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
		return super.validate(mapping, request);
	}

	/**
	 * @return
	 */
	public String getCreditCard() {
		return creditCard;
	}

	/**
	 * @param string
	 */
	public void setCreditCard(String string) {
		creditCard = string;
	}

}

⌨️ 快捷键说明

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