title: Using Expression language under javascript?
body: <p>I have below CheckBox in JSP file</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;input type="checkbox" name="vehicle" value="Bike"
      onclick="javascript:selectCustomers(${sessionScope.custId});"&gt;
  </code></pre>
  
  <p>Getting the following error:</p>
  
  <blockquote>
    <p>org.apache.jasper.JasperException: customer.jsp(1419,33) According to TLD or attribute directive in tag file,<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attribute onclick does not accept any expressions</p>
  </blockquote>
  
  <p>Can we not use expression language in JavaScript (in my case under <code>onClick()</code> Event)?</p>