title: How to call a java method from a jsp when a html element is clicked?
body: <p>As title says, how do I call a java class method from a jsp, when certain element is clicked (by example an anchor)? (Without reloading the page)</p>
  
  <p>If this can be done, how I pass the method, some part of the html code of the page that invokes it?</p>
  
  <p>Im using jsp, servlets, javascript, struts2 and java, over Jboss AS.</p>