摘要:
商品对象,购物车对象,servlet的实现 商品: package app02d;public class Product { private int id; private String name; private String description; private float price; 阅读全文
摘要:
三个servlet的实现: package app02c;import java.io.IOException;import java.io.PrintWriter;import javax.servlet.ServletException;import javax.servlet.annotati 阅读全文
摘要:
隐藏域的实现, 商品对象 package app02b;public class Customer { private int id; private String name; private String city; public int getId() { return id; } public 阅读全文
摘要:
package app02a;import java.io.IOException;import java.io.PrintWriter;import java.util.ArrayList;import java.util.List;import javax.servlet.ServletExce 阅读全文