sending the value from jsp to java or javascript to java
<p>I have a list of names in a table. When I click the name, it displays people under that particular name.
Ex: aaa       bbb
              ccc 
Now I want to do moveover on aaa which l show 2 (number of ppl under aaa) in a tooltip.</p>

<pre><code>&lt;a id="tool" title="toolTip" onmouseover="toolTip(localArrGroupNames[&lt;%=in.intValue() %&gt;])"&gt;

function toolTip(name){
  alert(name);
  //can I send this name to a java class ???

}
</code></pre>

<p>I get the name aaa in the localArrGroupNames[0].But I am unable to get the name in a java class where i count the number of people below the aaa. How to send this value to java class? Please help me.</p>
