title: How to call a java method inside a .jsp page using JSTL
body: <p>Below is my java code:</p>
  
  <pre><code>package employees;  
  public class showString{    
      public String setSection(){
          String myStr = "Hello";
          return myStr ;
      }
  };
  </code></pre>
  
  <p>How do i call <code>setSection()</code> method in my jsp page using JSTL? I've tried several methods but none of them worked. </p>
  
  <p>I've already checked this page <a href="https://stackoverflow.com/questions/3177733/how-to-avoid-java-code-in-jsp-files">How to avoid Java Code in JSP-Files?</a> but don't understand how to call my method on the jsp file </p>
  
  <p>This will be a great help. Thanks</p>