I want to put check box in every line I fetch from database. The query is
select Name from Projects where id<5;
Lets say there are 4 text boxes and check boxes in front of them.The user will be putting some values in the text boxes he selects. Now how would I know which text boxes are filled by the user ? I used the following code to generate the check boxes in JSP.
<form action="">
<%while(resultset.next()) { %>
<input type="text" name="txtbx">
<input type="checkbox" name="pname"><% out.println(resultset.getString(1)); %><br>
<% } %>
</form>