title: Call function with parameter JSP
body: <p>EDIT : swapp'd <code>${h.helloWorldName('Audren')}</code> with <code>${h.getHelloWorldName('Audren')}</code></p>
  
  <p>I have a test class :</p>
  
  <pre><code>public class classtest {
  
      private String helloWorld;
      private String helloWorldName;
  
      public String getHelloWorld(){
          return "Hello world!";
      }
  
      public void setHelloWorld(String s) {
          helloWorld = s;
      }
  
      public String getHelloWorldName(String s) {
          return getHelloWorld() + s;
      }
  </code></pre>
  
  <p>In my jsp i want to print the result of my method getHelloWorldName. Here is what i tried so far :</p>
  
  <pre><code>&lt;jsp:useBean id="h" class="com.test.classtest" scope="page" /&gt;
  &lt;c:out value="${h.helloWorldName('Audren'}" /&gt;
  </code></pre>
  
  <p>But with no success. Am i missing something ? I also tried <code>#{h.helloWorldName('Audren'}</code></p>