<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="java.util.*" %>
<HTML>
<BODY ><Font size=2>
<jsp:useBean id="car1" class="eee.Car1" scope="session" >
</jsp:useBean>
<P>选择从购物车删除的商品：
<% String str=response.encodeRedirectURL("removeWork.jsp");
%>
 <FORM action="<%=str%>" method=post name=form2>
       <Select name="deleteitem" size=1>
          <Option value="TV">电视机
          <Option value="apple">苹果
          <Option value="coke">可口可乐
          <Option value="milk">牛奶
          <Option value="tea">茶叶
       </Select> 
    <Input type=submit value="提交删除">  
</FORM> 
<P> 您的购物车有如下商品:
 <% Hashtable list=car1.列出购物车中的商品();
    Enumeration en=list.elements();
    while(en.hasMoreElements())
         { String goods=(String)en.nextElement();
             byte b[]=goods.getBytes("ISO-8859-1");
             goods=new String(b);
             out.print("<BR>"+goods);
         }    
%>
<% String str1=response.encodeRedirectURL("car.jsp");
%>
<FORM action="<%=str1%>" method=post name=form>
<Input type=submit value="继续购物">
</FORM>
</FONT>
</BODY>
</HTML>
