I see this question was already answered in this thread. But just need some more details on how simply this can be done.
I have a form with some fields and a button (which actually performs remove operation). So on click of this button, I want equivalent record to be deleted in the Database too.
I already written a servlet, which actually does delete operation for the input provided. But I don't know how to use this servlet in Form. I know how to retrieve data from DB, display as JSON in servlet and use that in the Form Fields, but the other way around is I am a bit not clear.