I have something like this in my code
<% while (i.hasNext()) {
Object obj = i.next();
...
%>
...
<input type="checkbox" name="ticketCheck"/>
...
<% } %>
How can I make the names become ticketCheck1, ticketCheck2 etc so I can reference a corresponding object that displays?
assuming tickets is the collection or array of ticket