Vijayendra <br /> <br />"The harder you train in peace, the lesser you bleed in war"
Joined: Jun 13, 2004
Vijayendra V Rao
Joined: Jul 04, 2004
What you want to do is to submit each action (e.g. add, remove, save, close, etc.) to the server side (your JSP) and handle it there with a controller. The controller, another JSP or perhaps a servlet, which is on the server-side, can then get the supplied action from the request object and call the appropriate Java method to handle the action (do the processing).
You might want to Google for the "Model View Controller" design pattern, which is a time-honoured tradition of achieving the above.