Using Jstl Write Loop Items List Box Select Multiple Found Session Variable Helperdataitem Q37276347

Using JSTL write a for loop for all the items in a listbox(select multiple) found in the session variablehelper.data.items
for each item please display (use a table with headers);
1. The item name
2. The item quantity

This is what I have not sure if it is correct:

<core: forEach var=”row” items=”${database}”>
${row.ItemName},
${row.Quantity}, <br>
</core:forEach>


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.