access javascript variable in java
<pre><code>function test(custId){
    List&lt;Account&gt; list=accountDelegate.findAccountEntityByGroupId((long)%&gt;
        custId&lt;%)%&gt;;
    &lt;script&gt;
}
</code></pre>

<p>Here my question is how to send custId to java method as parameter from Javascript? Where java method takes long argument.</p>
