title: How to use declaration tag in JSP?
body: <p>I have one method and i took one variable int b=10 &amp; i want to print this value
  in display method. How can i do it ?</p>
  
  <pre><code>&lt;%!
  int b=10;
  public void display()
  {
      out.print(b);
  }
  %&gt;
  </code></pre>
  
  <p>But it is giving error like, "Out cannot be resolved".</p>