title: How to create checkbox on jsp based on availability?
body: <p>I want to create checkboxes on jsp based on availability such that for instance, items that have stock above 0 will then be displayed on the page for purchase. So, for instance, if there are 3 available items 3 checkboxes will be created for the 3 items and i do not want to display those that are of 0 stock. Is there a way i can do this on jsp? </p>
  
  <p>ps. I have an item entity in my java database which will let me know the number of stocks available.</p>