How do I manage to submit to 4 different .do actions when I have four different buttons.
On submitting the page by clicking edit - it should go to edit.do
On submitting the page by clicking update - it should go to update.do
On submitting the page by clicking New - it should go to new.do
On submitting the page by clicking delete - it should go to delete.do
How do I do it to submit the action by post method. Could somebody help
Here is the jsp page code
<html>
<head>
<title>Management</title>
</head>
<body topmargin="0" bgcolor ="#CCCCCC">
<form>
<!-- Start header content -->
<table width= "100%" align="center" >
<tr>
<td height="90" align="center" margin="0" background="images/header.
gif"></td>
</tr>
</table>
<table bgcolor='#488AC7' topmargin="0" width="100%" border="0" cellpadding="0" >
<tr>
<td align="left" valign="middle" bgcolor='#488AC7'><span class="topnav"><font color='white' ><b>Welcome Member!</b></font> </
span></td>
<td align="right" valign="middle" bgcolor='#488AC7'><span class="topnav"><a href="logoff.do" class="topnav"><font color='white' ><b>Logoff</b></font></a>&
nbsp;</spa
n></td>
</tr>
</table>
<table width="100%" bgcolor='#488AC7' topmargin="0" width="100%" border="1" cellspacing="0">
<tr>
<td width="5%" align="center" class="tabletext">Select</
td>
<td width="15%" align="center" class="tabletext">Code</td
>
<td width="45%" align="center" class="tabletext" >Description</td>
<td width="15%" align="center" class="tabletext">Represen
tative</td
>
<td width="10%" align="center" class="tabletext" >Date</td>
<td width="10%" align="center" class="tabletext" >Time</td>
</tr>
<tr>
<td><div align="center">
<input type="checkbox" name="checkbox" value="0">
</div></td>
<td align="center">a11</td><td
align="center">ABC</td><td
align="center">ek101</td><
td align="center">01/05/07</t
d><td align="center">08:23:06</t
d></tr>
<tr>
<td><div align="center">
<input type="checkbox" name="checkbox" value="0">
</div></td>
<td align="center">a12</td><td
align="center">XYZ</td><td
align="center">sk101</td><
td align="center">01/05/07</t
d><td align="center">08:23:16</t
d></tr>
</table>
<table width="100%" bgcolor='#488AC7' topmargin="0" width="100%" border="1" cellspacing="0">
<tr>
<td><div align="center">
<input type="submit" name="Edit" value="Edit">
<input type="submit" name="Update" value="Update">
<input type="submit" name="New" value="New">
<input type="submit" name="Delete" value="Delete">
<input type="submit" name="Menu" value="Menu">
</tr>
</table>
</form>