<%-- Copyright 2004 Sun Microsystems, Inc. All rights reserved. SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. --%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %> <fmt:setBundle basename="LocalStrings"/> <html> <!-- Copyright (c) 1999 The Apache Software Foundation. All rights reserved. --> <jsp:useBean id="cart" scope="session" class="samples.webapps.simple.beans.sessions.DummyCart" /> <jsp:setProperty name="cart" property="*" /> <% cart.processRequest(request); %> <FONT size = 5 COLOR="#CC0000"> <br> <fmt:message key="carts.jsp.cart"/> <ol> <% String[] items = cart.getItems(); for (int i=0; i<items.length; i++) { %> <li> <%= items[i] %> <% } %> </ol> </FONT> <hr> <%@ include file ="/jsp/sessions/carts.html" %> </html>