if i want two submit buttons ok1 and ok2 if the user click ok1 control goes with 1.jsp or
click ok2 control goes with 2.jsp but ok2 is not working.
is there any mistake two submit buttons then what are methods to resolve
my code is here
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<form action="1.jsp" method="post">
<table>
<tr>
<td>
<input type="text" name="textbox">
</td>
</tr>
<tr>
<form action="2.jsp" method="post">
<table>
<tr>
<td>
<input type="text" name="textbox2">
</td>
</tr>
<tr>
<td>
<input type="submit" value="ok2">
</td>
</tr>
</table>
</form>
</tr>
<tr>
<td>
<input type="submit" value="ok1">
</td>
</tr>
</table>
</form>
</body>
</html>