title: how to use javascript variable inside scriptlet tag
body: <p>I want to pass a javascript variable to a scriptlet tag.
  below is my code, i am using scriptlet tags inside a jsp page:</p>
  
  <pre><code>    &lt;script&gt;
      function concur(look){
      alert(look);
      &lt;%
      String lk=request.getParameter("look");
      con.writing("HeyWow ",lk);%&gt;        
      &lt;/script&gt;
  </code></pre>
  
  <p>i want to pass the value of the string 'look' as an argument to the function 'writing'.</p>
  
  <p>can anyone tell me how to do this ?</p>
  
  <p>thanks</p>