?? shoppingform.java
字號:
package struts.actionform;
import java.util.*;
import javax.servlet.http.*;
import bo.*;
import org.apache.struts.action.*;
public class ShoppingForm extends ActionForm {
private String event;
private ArrayList productList;
private Cart cart = new Cart();
private String quantity;
private String id;
public void setEvent(String event) {
this.event = event;
}
public void setProductList(ArrayList productList) {
this.productList = productList;
}
public void setCart(Cart cart) {
this.cart = cart;
}
public void setQuantity(String quantity) {
this.quantity = quantity;
}
public void setId(String productId) {
this.id = productId;
}
public String getEvent() {
return event;
}
public ArrayList getProductList() {
return productList;
}
public Cart getCart() {
return cart;
}
public String getQuantity() {
return quantity;
}
public String getId() {
return id;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -