Use a Delete Button or an X- button to prompt the user to Delete.
The delete button needs to be fed with ID meaning the table row which should be deleted from DB.
This can be done by capturing the ID of that particular row.
write a Javascript function to call the Delete Method on the Server (
Struts or
Servlets) by passing this ID.
Pass this ID to DAO class and using some delete query delete the row in the DB.
Are you new to
J2EE ?