hi i want to get book names from database in jsp page i am getting all book names but my requirment is i want to update selected books by checkbox so how can i get only selected books in next page...
here is my jsp code...Thanks in advance.
<form action="book1.jsp" name="f1">
<table border="1" align="center">
<caption>Select Book for Update</caption>
<%
while(rs.next())
{
%>
<tr>
<th colspan="2">Book name</th>
<td><%= rs.getString("bookname") %></td>
<td> <input type="checkbox" value="${row.id}" name="b1"/> </td>
<% } %>
</tr>
<tr>
<td colspan="3"><input type="submit" value="Update" ></td>
</tr>
</table>