I use the following code. But it is always go to the otherwise condition. I checked the value , and those are correctly passed from java to the jsp. Any missing points?

&lt;c:when test="${pCount &gt; 0}"&gt;
    &lt;display:column class="colPCount" property="pCount " title="${titlePCount}" sortable="true" headerClass="sortable" /&gt;
&lt;/c:when&gt;
&lt;c:otherwise&gt;
    &lt;display:column class="colPCount" title="${titlePCount}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/display:column&gt;
&lt;/c:otherwise&gt;


For the pcount>0 items, still displaying as  '-' in the display tag. Even I reverse the checking condition like pCount&lt;0 in the first condition checking, the display tag always show the otherwise condition. It always pointing to the otherwise condition for every value.

Edited: Full Code

    &lt;display:table class="displayTable" id="itemList"
        name="${sessionScope.itemList}" requestURI="listItem.action"
        pagesize="15" defaultsort="2" defaultorder="ascending" sort="list"&gt;
        &lt;display:column class="colItemName" property="name"
            title="${titleItemName}" sortable="true" headerClass="sortable"/&gt;
        ...
        &lt;c:choose&gt;
        &lt;c:when test="${pCount &gt; 0}"&gt;
            &lt;display:column class="colPCount" property="pCount " title="${titlePCount}" sortable="true" headerClass="sortable" /&gt;
        &lt;/c:when&gt;
        &lt;c:otherwise&gt;
            &lt;display:column class="colPCount" title="${titlePCount}"&gt;&amp;nbsp;-&amp;nbsp;&lt;/display:column&gt;
        &lt;/c:otherwise&gt;
        &lt;/c:choose&gt;
    &lt;/display:table&gt;



Question: Where was the Scottish Skyfall scene filmed?
Answer: Actually I think it's here:

Skyfall in Glen Etive

The little bridge in front of Bond is the land mark.