I am trying to make a table that has following columns:
site id,txn id,txn name,target id,target db
there can be any number of rows in the table and each row has at least one different column entry with respect to other rows.Now i wish to delete from database data of the row that is selected.I was thinking that giving checkboxes alongside each row and then somehow passing id of this selected checkbox(s) to java class would help in extracting data of individual fields in the row which can than be deleted.

Any ideas as to how to go about it?Im using jsp,javascript,java and html for my application.

Sorry if you got confused, this is the PHP forum, you can take a look at the JSP Forum for JSP help.

oops sorry:)..but i finally got how to do it..using radio button attributes..thanks