//form tag in index.jsp
<form name="del" id="frm" action="DeleteRecord">
<input type="submit" name="sub" value="Delete" onClick="validation();">
In the above code, the control will be transferred to servlet whatever is the user action. Please help me in modifying above code.
Thanks in advance.