title: How to write jsp scriptlet inside javascript function
body: <p>Hi my code is not working,</p>
  
  <p>In javascript method, i have written jsp scriptlets.</p>
  
  <pre><code>function caller() {
  &lt;% out.println("scriptlet working in js method"); %&gt;
  }
  </code></pre>
  
  <p>I am not getting the output in 'server console'.</p>
  
  <p>File is jsp file and running on websphere application server.</p>
  
  <p>can anyone tell what is happening.</p>