title: how to get the value in jstl
body: <p>I have written a piece of code in jstl . I am getting the following error while executing the html.</p>
  
  <p>Can I call a method in value attribute for c:set.If not please assit me how to do this.</p>
  
  <p>Exception:</p>
  
  <pre><code>com.sun.facelets.tag.TagAttributeException: /role/MyPage.xhtml @33,82 value="#{roleManager.roleStatus(roleId)}" Error Parsing: #{roleManager.roleStatus(roleId)}
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>&lt;select name="123"&gt;
          &lt;c:forEach items="#{roleManager.addRoleList}" var="category"&gt;
          &lt;c:set var="roleId" value="#{category.value}" /&gt;
          &lt;c:set var="roleIdValue" value="#{roleManager.getRoleStatus(roleId)}" /&gt;
              &lt;c:if test="${roleIdValue}"&gt;
                  &lt;option value="#{roleId}" style="color:#990000;"&gt; &lt;h:outputLabel  value="#{category.key}" /&gt;&lt;/option&gt;
              &lt;/c:if&gt;
              &lt;option value="123"&gt; &lt;h:outputLabel  value="#{category.key}"/&gt;&lt;/option&gt;
          &lt;/c:forEach&gt;
      &lt;/select&gt; 
  </code></pre>