How can I fetch the value of name(which is either 1 or 2) in the forms below, in the RegisterRedirect servlet?
....
<tr>
<td><form action="RegisterRedirect" method="post">
<input type="submit" name="1" value="Edit"></form></td>
<td><form action="RegisterRedirect" method="post">
<input type="submit" name="2" value="Delete"></form></td>
</tr>
.....