I'm making a web application where you need to register and login. Very basic, I know but I'm learning it.
Now I want to show a list of checkboxes in a JSP page. I have something like this:
<% KokenHelper kh= new KokenHelper(); %>
<c:forEach var="wat" items="${kh.getAllKoken()}" >
<div class="checkbox">
<label>
<input type="checkbox" name="wat" value="${wat}"> ${wat}
</label>
</div>
</c:forEach>
I made a KokenHelper class that gets a List object, that is what I need to show.
Any tips are welcome.
Thank you.