title: JSTL Expression for test if Not
body: <p>I am trying  to know whether certain text starts with an expression "<strong>Service include</strong>.." using JSTL condition. However, I see that this expression is incorrect and error some. Can you please identify what is wrong with this.</p>
  
  <p>Below is part of JSP page.</p>
  
  <pre><code>&lt;%--  
      Attributes: ruleView
      RuleViewDto ruleView
  --%&gt;
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%&gt;
  &lt;c:set var="ruleDesc" value="${rule.description}"/&gt;
  
  &lt;c:if test="${!fn:startsWith(ruleDesc, 'Service include')}"&gt;        
  
      &lt;td align="right"  class="imgButton"
          onclick="RuleSet.removeRule('${ruleView.stepId}', '${rule.code}');" style="padding-left: 10px; padding-right: 10px;" 
          &gt;&lt;img src="../img/delete.gif" /&gt;&lt;/td&gt;
  &lt;/c:if&gt;
  </code></pre>
  
  <p>What is wrong with Expression <code>${!fn:startsWith(ruleDesc, 'Service include')}</code> ? How how should it be ?</p>