hi
i have a jsp page where we output multiple rows to the user (loop). each row has a 'delete' checkbox. so there is one line of code
<c:forEach var="s" items="${rtolst}">
......[other stuff]
<input type="checkbox" name="delete" value="<c:out value="${s.id}"/>">
</c:forEach>
once user selects rows and clicks delete he is taken to another page where he is asked if they are sure about deleting these reports(user can click back or continue). When on this 'warning' page the selected checkboxes have been saved in a session attribute. Now if the user clicks back..we want to be able to save the checkboxes that he clicked.
Can someone suggest the best way to get this done? problem i think is that forEach shown above is ALL the rows but if we want to enable selected checkboxes we'll have to depend on the saved attribute that has selected checkboxes...kind of confused..
Thx