title: Calling function defined in JSP Page
body: <p>I have defined a function something like below in the top of the jsp page</p>
  
  <pre><code>&lt;%!
    public boolean isSkillSelcted(String Skill1)
    {
       ...
       .. 
       . 
       return true;
    }
  %&gt;
  </code></pre>
  
  <p>Now I want to call the Function in the Check box as below</p>
  
  <pre><code>&lt;input name="chkSkills" type="checkbox" id="chkJava" value="Java" 
         &lt;c:if test='${isSkillSelcted("Java") == true}'&gt;Checked&lt;/c:if&gt;&gt;Java
  </code></pre>
  
  <p>If the function return true then the check box will be marked as checked.Its Displaying exception as below.</p>
  
  <pre><code>    org.apache.jasper.JasperException: /EditUser.jsp(73,71) 
  The function isSkillSelcted must be used with a prefix when a default namespace is not specified
  </code></pre>
  
  <p>When i append fn at beginning fn:isSkillSelcted its complaining function undefined</p>
  
  <p><img src="https://i.stack.imgur.com/ll4Lt.jpg" alt="enter image description here"></p>