package cbcc.org.beans; //servlet import import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionMessage; /** * Class OrderFormBean - represents the order Form * * @author William * @version 1.3 */ public class OrderFormBean2 extends org.apache.struts.action.ActionForm { // instance variables private int[] qty; /** * getQty - gets the qty * * @return int[] qty */ public int[] getQty() { return qty; } /** * setQty - sets the qty * * @param int[] qty */ public void setQty(int[] qty) { this.qty = qty; } /** * validate - validates the form * * @param ActionMapping mapping, HttpServletRequest request */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { //create errors ActionErrors errors = new ActionErrors(); //return errors return errors; } }