title: How to call java method in JSTL?
body: <p>This might be duplicate question.</p>
  
  <p>I just want to call method which is not getter or setter method <strong>eg. makeCall(someObj,"stringvalue") of xyz class.</strong></p>
  
  <p>Java Class</p>
  
  <pre><code>Class XYZ{
  
      public String makeCall(Object objValue, String stringValue){
  
      //some logic here
  
      }
  }
  </code></pre>
  
  <p>JSTL</p>
  
  <pre><code>&lt;jsp:userBean id="xyz" class="com.XYZ"/&gt;
  ${xyz.makeCall("hello","Friend")}
  </code></pre>