<%----------------------------------------------------------- Copyright (c) 1999-2000, Oracle Corporation. All rights reserved. ------------------------------------------------------------%> Java Store

   
  <% if (orderedSweatshirt.getValue() || orderedTShirt.getValue()) { %> Thank you for selecting our fine JSP Wearables!

<% if (!currSS.isEmpty() || !currTS.isEmpty()) { %> You have changed your order:

    <% if (orderedSweatshirt.getValue()) { %>
  • 1 Sweatshirt <% if (!currSS.isEmpty()) { %> (size: <%= currSS.getValue().toUpperCase() %>)  <% } %> (size: <%= sweatShirtSize.getValue().toUpperCase() %> ) <% } else if (!currSS.isEmpty()) { %>
  • 1 Sweatshirt (size: <%= currSS.getValue().toUpperCase() %>) <% } %> <% if (orderedTShirt.getValue()) { %>
  • 1 Tshirt <% if (!currTS.isEmpty()) { %> (size: <%= currTS.getValue().toUpperCase() %>)  <% } %> (size: <%= tshirtSize.getValue().toUpperCase() %>) <% } else if (!currTS.isEmpty()) { %>
  • 1 Tshirt (size: <%= currTS.getValue().toUpperCase() %>) <% } %>
<% } else { %> You have selected:
    <% if (orderedSweatshirt.getValue()) { %>
  • 1 Sweatshirt (size: <%= sweatShirtSize.getValue().toUpperCase() %>) <% } %> <% if (orderedTShirt.getValue()) { %>
  • 1 Tshirt (size: <%= tshirtSize.getValue().toUpperCase() %>) <% } %>
<% } %> <% } else { %> Are you sure we can't interest you in something? <% } %>
<% if (orderedSweatshirt.getValue()) { currSS.setValue(sweatShirtSize.getValue()); } else { currSS.setValue(""); } if (orderedTShirt.getValue()) { currTS.setValue(tshirtSize.getValue()); } else { currTS.setValue(""); } %>