<%@ page import="java.util.List"%> <%@ page import="java.util.Iterator"%> <%@ page import="org.apache.geronimo.samples.computer.dto.ItemDTO"%> Computer Acessories Seller

Computer Acessories Seller

This eCommerce application let you buy computer acessories in both wholesale and retail prices. To get the wholesale price customer has to buy atleast Discount Quantity number of items. Then you will get Discount Percentage of discount from each item. Also note you are not allowed to add same accessory twise in to your shopping cart.

<% List itemList = (List)session.getAttribute("itemList"); for(Iterator iterator = itemList.iterator();iterator.hasNext();){ ItemDTO item = (ItemDTO)iterator.next(); %> <% } %>
Item Description Unit Price Discount Quantity Discount Percentage Action
<%=item.getDescription()%> <%=item.getUnitPrice()%> <%=item.getMinimumDiscountPurchase()%> <%=item.getDiscountPercentage()*100%>% Buy