title: How do I pass current item to Java method by clicking a hyperlink or button in JSP page?
body: <p>I have an HTML table with rows fetched from a database displayed in that table. I want the user to be able to delete a row by clicking on a delete hyperlink or button besides each row.</p>
  
  <p>How do I invoke a JSP function on the page, when the user clicks on each of those delete hyperlinks or button, so that I can delete that row's entry from the database? What exactly should the <code>&lt;a&gt;</code> or <code>&lt;button&gt;</code> tag have to call the JSP function?</p>
  
  <p>Note that I need to call a JSP function, not a JavaScript function.</p>