I have a table in which a column has buttons . on clicking this button the function should be called and the function should inturn call a scriplet method by passing parameters from the function.This should be in the same jsp page.
I have the rough code here:
<%
public String manager(String abc, String sbc){
}
%>
<html>
<head>
<script type="text/html">
function f1(){
id = document.getElementById("E1");
id.innerHTML("print");
}
</script>
<body>
<table>
<tr><td>numbers</td></td> status</td><td>check</td></tr>
<tr><td>1</td><td ID ="E1"></td><td id="E1" type="button" value="submit" onClick="f1()"></td>
</table>
</body>
</head>
</html>