title: JSP import Java class
body: <p>When I try to call the method after importing the class, like below, I get method is undefined error.</p>
  
  <pre><code>&lt;%@page import="td.TourHelper"%&gt;
  &lt;%=getTourName()%&gt;
  </code></pre>
  
  <p>But, when I directly call the method, it works.</p>
  
  <pre><code>&lt;%=td.TourHelper.getTourName()%&gt;
  </code></pre>
  
  <p>Any clues?</p>