i am new to
jsp and
servlets... i created a page that having a table having the details of employee and i put check box and edit button for every row. i gave the checkbox name same as the employeeid for deleting operation. the code like
String ch="check"
ch=ch.concat(String(valueOf(<%=rs.getString(1)%>
));
<input type="checkbox" name=<%=ch%> value==<%=ch%> >
when i click the delete button i called the servlet for delete operation, the selected rows are deleted perfectly.. but i need one more option like "check all" when i click this buttom all the rows should checked.. how to do this.. help me