All pastes #270584 Raw Edit

Someone

public text v1 · immutable
·published 2006-12-07 14:47 UTC
rendered paste body
This is the jsp

will show a page with a table and list of avialable products.


      <table border="1">
            <tr>
                <td><c:out value="Product ID"/></td>
                <td><c:out value="Product Name"/></td>
                <td><c:out value="Price"/></td>
             </tr>
             <c:forEach  var="Product"  items="${applicationScope.beerList}">
             <tr>
                    <td><c:out value="${Product.productID}" /></td>
                    <td><c:out value="${Product.name}" /></td>
                    <td><c:out value="${Product.price}" /></td>

<%-- something like this --%>
                    <td><a href="OrderAction.do?<c:out value="${product.productID}" />">Order thisd item</a></td>

             </tr>
             </c:forEach>
             
        </table>



in he submit:
how to get value from <td><c:out value="${Product.price}" /></td>
which selected by customer?