I am working on a project in which there has to be a functionality to permit the users to update and delete certain rows of a table that will dynamically be displayed to them.
The user will click on a radio button to select which row he wants to update or delete and then will click in either the update or submit button.
According to his selection of update or delete, I have to pass the contents of the selected row to 2 a servlet. Now, the servlet for update is different from that of delete. I cannot mention the url pattern in the action attribute of the form as I need the values to be transferred to 2 different servlets according to the users choice.
Is it possible to achieve this?
Please suggest me a few solutions to this problem.